From 1954cfcf9cb04d402d00bad69cff216eb28a10d4 Mon Sep 17 00:00:00 2001 From: rusty1s Date: Sat, 3 Feb 2024 08:36:05 +0000 Subject: [PATCH] update --- .github/workflows/cpp_testing.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cpp_testing.yml b/.github/workflows/cpp_testing.yml index 8e213610..b9624abd 100644 --- a/.github/workflows/cpp_testing.yml +++ b/.github/workflows/cpp_testing.yml @@ -11,7 +11,7 @@ jobs: gtest: runs-on: ubuntu-latest env: - MKL_VERSION: 2024.0.0 + MKL_VERSION: 2023.1.0 steps: - name: Checkout repostiory @@ -39,24 +39,28 @@ jobs: mkdir build cd build - Torch_DIR=`python -c 'import torch;print(torch.utils.cmake_prefix_path)'` cmake .. -GNinja -DBUILD_TEST=ON -DWITH_COV=ON -DCMAKE_BUILD_TYPE=DEBUG -DUSE_MKL_BLAS=ON -DBLAS_INCLUDE_DIR=$_BLAS_INCLUDE_DIR -DMKL_DIR=${MKL_DIR} + Torch_DIR=`python -c 'import torch;print(torch.utils.cmake_prefix_path)'` cmake .. -GNinja -DBUILD_TEST=ON -DWITH_COV=ON -DCMAKE_BUILD_TYPE=DEBUG -DUSE_MKL_BLAS=OFF -DBLAS_INCLUDE_DIR=$_BLAS_INCLUDE_DIR -DMKL_DIR=${MKL_DIR} unset _BLAS_INCLUDE_DIR cd .. + - name: Build run: | cd build cmake --build . cd .. + - name: Run tests run: | cd build ctest --verbose --output-on-failure cd .. + - name: Collect coverage run: | sudo apt-get install lcov lcov --directory . --capture --output-file .coverage.info lcov --remove .coverage.info '*/test/*' --output-file .coverage.info + - name: Upload coverage uses: codecov/codecov-action@v2 with: