Updating version of bench and test libraries. #19
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: OnCICI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| name: Benchmarking | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| compiler: [[gcc, g++], [clang, clang++]] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Building | |
| env: | |
| CC: ${{ matrix.compiler[0] }} | |
| CXX: ${{ matrix.compiler[1] }} | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake .. | |
| make bench | |
| - name: Benchmarking | |
| run: | | |
| cd build | |
| bin/bench | tee timings_${{ matrix.compiler[0] }}.txt | |
| - uses: actions/upload-artifact@v7 | |
| with: | |
| name: Timings_${{ matrix.compiler[0] }} | |
| path: build/timings_${{ matrix.compiler[0] }}.txt | |
| test: | |
| name: Testing | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Building | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake .. | |
| make test_mine unit_tests | |
| - name: Testing | |
| run: | | |
| cd build | |
| bin/test_mine | |
| bin/unit_tests |