Allow collision generator to work on large models #1257
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
| name: MacOS Validation | |
| on: | |
| pull_request: | |
| branches: [ "*" ] | |
| jobs: | |
| build: | |
| runs-on: macOS-latest | |
| strategy: | |
| matrix: | |
| config: [Release, Debug] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| fetch-tags: true | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: brew install ninja cmake | |
| - name: Install vcpkg | |
| uses: lukka/[email protected] | |
| with: | |
| vcpkgDirectory: '${{ github.workspace }}/vcpkg' | |
| - name: Build | |
| run: | | |
| cmake -H. -Bbuild-cmake -GNinja -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake | |
| cmake --build build-cmake -j --config ${{ matrix.config }} | |
| - name: Create Package | |
| run: | | |
| mkdir spaghetti-${{ matrix.config }} | |
| mv build-cmake/Spaghettify spaghetti-${{ matrix.config }}/ | |
| - name: Publish packaged artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: spaghetti-mac-universal-${{ matrix.config }} | |
| path: spaghetti-${{ matrix.config }} | |
| retention-days: 1 |