debug on github cli #17
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: SILICON macOS CI | |
| on: | |
| push: | |
| branches: [ Silicon ] | |
| jobs: | |
| build-and-test: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install GCC and CMake | |
| run: | | |
| brew update | |
| brew install gcc cmake | |
| - name: Configure CMake with GCC | |
| run: | | |
| cmake -S . -B build -DCMAKE_CXX_COMPILER=g++-15 -DCMAKE_BUILD_TYPE=Release | |
| - name: Build Project | |
| run: | | |
| cmake --build build --parallel | |
| - name: Run All Tests with CTest | |
| working-directory: build | |
| run: | | |
| ctest --output-on-failure --timeout 60 | |
| - name: Upload Logs on Failure | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-logs | |
| path: build/Testing/Temporary/ |