Refactored benchmark tests #120
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: Tests (Asan) | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Create Build Directory | |
| run: mkdir build | |
| - name: Configure CMake | |
| working-directory: ./build | |
| run: cmake -DDISABLE_AVX512=ON -DENABLE_ADDRESS_SANITIZER=ON -DPIXIE_BENCHMARKS=OFF .. | |
| - name: Build Project | |
| working-directory: ./build | |
| run: make -j | |
| - name: Run Unittests | |
| working-directory: ./build | |
| run: ./unittests | |
| - name: Run LOUDS Tree Tests | |
| working-directory: ./build | |
| run: ./louds_tree_tests | |
| - name: Run Benchmark Tests | |
| working-directory: ./build | |
| run: ./benchmark_tests | |
| # TODO: fix RmM tests under Asan | |
| # - name: Run RmM Tree Tests | |
| # working-directory: ./build | |
| # run: ./test_rmm | |
| build-and-test-with-SDE: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Create Build Directory | |
| run: mkdir build | |
| - name: Download and Unpack SDE | |
| working-directory: ./build | |
| run: | | |
| wget https://downloadmirror.intel.com/859732/sde-external-9.58.0-2025-06-16-lin.tar.xz | |
| tar xf sde-external-9.58.0-2025-06-16-lin.tar.xz | |
| - name: Configure CMake | |
| working-directory: ./build | |
| run: cmake -DENABLE_ADDRESS_SANITIZER=ON -DMARCH=icelake-client -DHAVE_STD_REGEX=ON .. | |
| - name: Build Project | |
| working-directory: ./build | |
| run: make -j | |
| - name: Run Unittests | |
| working-directory: ./build | |
| run: sde-external-9.58.0-2025-06-16-lin/sde64 -icl -emu-xinuse 0 -- ./unittests | |
| - name: Run LOUDS Tree Tests | |
| working-directory: ./build | |
| run: sde-external-9.58.0-2025-06-16-lin/sde64 -icl -emu-xinuse 0 -- ./louds_tree_tests | |