deterministic normal distribution for our regression tests #1
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: C++ CI | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| workflow_dispatch: | |
| jobs: | |
| build-and-test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| SKIP_PERFORMANCE_TESTS: "1" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Build Tools (Linux) | |
| if: runner.os == 'Linux' | |
| run: | | |
| apt-get update | |
| apt-get install -y cmake g++ | |
| - name: Configure CMake | |
| run: cmake -B build -S cpp -DFORCE_AVX2=OFF -DENABLE_BENCHMARKS=OFF | |
| - name: Build | |
| run: cmake --build build --config Release | |
| - name: Run Tests | |
| run: ctest --test-dir build --output-on-failure -C Release |