feat: Add compiler optimizations, bump version to 0.5.0 #6
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: Apple Silicon CI | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Create Build Directory | |
| run: mkdir -p build | |
| - name: Configure & Build | |
| working-directory: ./build | |
| run: | | |
| cmake -S .. -B . | |
| cmake --build . | |
| - name: List Build Artifacts | |
| working-directory: ./build | |
| run: | | |
| echo "Contents of build directory:" | |
| find . -type f -name "test_*" -perm +111 | |
| - name: Run Tests | |
| working-directory: ./build | |
| run: | | |
| # Find and run the test executables, wherever they are | |
| for test in $(find . -type f -name "test_*" -perm +111); do | |
| echo "Running test: $test" | |
| $test | |
| done | |
| # Alternatively, use CTest if tests are configured properly | |
| ctest --output-on-failure |