Fix multidimensional subscript bad detection in MacOS #4778
Workflow file for this run
This file contains hidden or 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_ID: "GITHUB_${{ github.run_id }}.${{ github.run_number }}" | |
jobs: | |
windows2022msvc: | |
name: Windows 2022 (amd64, MSVC) | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build | |
run: | | |
cd $env:GITHUB_WORKSPACE | |
# --system-version is necessary with GitHub's `windows-2022` runner because the | |
# default SDK doesn't include `gameinput.h` correctly (see: https://github.com/actions/runner-images/issues/10980) | |
# | |
# the specified SDK supports Windows 10, version 1507 or higher (developer.microsoft.com/en-us/windows/downloads/windows-sdk/) | |
python scripts\\build_windows.py --system-version=10.0.26100.0 -j2 || exit /b | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: opensimcreator-windows-amd64.zip | |
path: build/*windows-amd64.exe | |
if-no-files-found: error | |
macos11clang: | |
name: MacOS 14 (amd64, XCode 15.4, targeting 14.5) | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: run build script | |
run: | | |
cd $GITHUB_WORKSPACE | |
# run buildscript | |
./scripts/build_mac-amd64.sh | |
# run after-build OS-specific test scripts | |
./scripts/macos_check-dependencies.py build/osc/osc | |
./scripts/macos_check-sdk.py 14.5 build/osc/osc | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: opensimcreator-macos-amd64.zip | |
path: build/*.dmg | |
if-no-files-found: error | |
ubuntu2204gcc: | |
name: Ubuntu 22.04 (amd64, gcc-12) | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup system | |
run: | | |
cd $GITHUB_WORKSPACE | |
sudo apt update | |
sudo ./scripts/setup_ubuntu.sh | |
sudo apt-get install -y gcc-12 g++-12 xvfb | |
- name: run build script | |
run: | | |
# run buildscript under virtual desktop (for UI tests) | |
cd $GITHUB_WORKSPACE | |
CC=gcc-12 CXX=g++-12 OSC_BUILD_CONCURRENCY=$(nproc) xvfb-run ./scripts/build_ubuntu.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: OpenSimCreator_Deb.zip | |
path: build/*.deb | |
if-no-files-found: error | |