Merge remote-tracking branch 'origin/main' into feature_osim #4038
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
env: | |
OSC_BUILD_DOCS: 1 | |
OSC_BUILD_ID: "GITHUB_${{ github.run_id }}.${{ github.run_number }}" | |
jobs: | |
windows2022msvc: | |
name: Windows 2022 (MSVC) | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: osc | |
submodules: 'recursive' | |
- name: run build_windows.py | |
run: | | |
cd $env:GITHUB_WORKSPACE\osc | |
python scripts\\build_windows.py -j2 || exit /b | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: OpenSimCreator_Win64.zip | |
path: osc/osc-build/*win64.exe | |
if-no-files-found: error | |
ubuntu2004clang: | |
name: Ubuntu 20.04 (Clang) | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: osc | |
submodules: 'recursive' | |
- name: run build script | |
run: | | |
cd $GITHUB_WORKSPACE/osc | |
sudo apt-get install xvfb # virtual desktop, for tests | |
export OSC_BUILD_CONCURRENCY=$(nproc) | |
export CC=clang | |
export CXX=clang++ # C++20 support (g++ on this CI node isn't new enough) | |
xvfb-run ./scripts/build_debian-buster.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: OpenSimCreator_Deb.zip | |
path: osc/osc-build/*.deb | |
if-no-files-found: error | |
ubuntu2004emscripten: | |
name: Ubuntu 20.04 (emsdk) | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: osc | |
submodules: 'recursive' | |
- name: run build script | |
run: | | |
cd $GITHUB_WORKSPACE/osc | |
./scripts/build_emscripten.sh | |
macos11clang: | |
name: MacOS 13 (XCode) | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: run build script | |
run: | | |
cd $GITHUB_WORKSPACE | |
export OSC_BUILD_CONCURRENCY=$(sysctl -n hw.physicalcpu) | |
./scripts/build_mac.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: OpenSimCreator_MacOSX.zip | |
path: osc-build/*.dmg | |
if-no-files-found: error | |
# for compiler verification (gcc) | |
ubuntu2204gcc: | |
name: Ubuntu 22.04 (gcc-12) | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
path: osc | |
submodules: 'recursive' | |
- name: run build script | |
run: | | |
cd $GITHUB_WORKSPACE/osc | |
sudo apt-get install xvfb # virtual desktop, for tests | |
export OSC_BUILD_CONCURRENCY=$(nproc) | |
export CC=gcc-12 | |
export CXX=g++-12 | |
xvfb-run ./scripts/build_debian-buster.sh |