2828 submodules : recursive
2929
3030 - name : Set environment variables
31- shell : bash
3231 run : |
3332 echo "CUDA_PATH=/usr/local/cuda-12.8" >> $GITHUB_ENV
3433 echo "${CUDA_PATH}/bin" >> $GITHUB_PATH
@@ -39,12 +38,10 @@ jobs:
3938 echo "CUDACXX=/usr/local/cuda-${{ matrix.cuda }}/bin/nvcc" >> $GITHUB_ENV
4039
4140 - name : Configure CMake build
42- shell : bash
4341 run : cmake . -B ${{ env.build_dir }} -DCMAKE_BUILD_TYPE=${{ env.config }} -DCUBOOL_BUILD_TESTS=ON
4442
4543 - name : Build library sources
4644 working-directory : ${{ env.build_dir }}
47- shell : bash
4845 run : cmake --build . --target all --verbose -j `nproc`
4946
5047 test :
6461 steps :
6562 - name : Run unit-tests
6663 working-directory : ${{ env.build_dir }}
67- shell : bash
6864 run : |
6965 source scripts/run_tests_all.sh | tee ${{ env.unit-test-file }}
7066
@@ -76,15 +72,13 @@ jobs:
7672
7773 - name : Check for unit tests results
7874 working-directory : ${{ env.build_dir }}
79- shell : bash
8075 run : |
8176 if grep -q "FAILED" ${{ env.unit-test-file }}; then
8277 exit 1
8378 fi
8479
8580 - name : Run regression-tests
8681 working-directory : ${{ env.build_dir }}/python
87- shell : bash
8882 run : |
8983 source run_tests.sh 2>&1 | tee ${{ env.regression-test-file }}
9084
9690
9791 - name : Check for regression tests results
9892 working-directory : ${{ env.build_dir }}/python
99- shell : bash
10093 run : |
10194 if grep -q "FAILED" ${{ env.regression-test-file }}; then
10295 exit 1
@@ -110,7 +103,6 @@ jobs:
110103
111104 steps :
112105 - name : Cleanup workspace
113- shell : bash
114106 run : |
115107 rm -rf ${{ github.workspace }}/*
116108 rm -rf ${{ github.workspace }}/.*
0 commit comments