From e82df8c039a20692fde3c0ce4b54e85b8c4b1cab Mon Sep 17 00:00:00 2001 From: "Wang,Zhe" Date: Thu, 11 Jan 2024 17:43:03 +0800 Subject: [PATCH] update --- .github/workflows/unit-test-bestla.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/unit-test-bestla.yml b/.github/workflows/unit-test-bestla.yml index 7ac548298..09fcf4bb0 100644 --- a/.github/workflows/unit-test-bestla.yml +++ b/.github/workflows/unit-test-bestla.yml @@ -35,16 +35,11 @@ jobs: fetch-tags: true - name: Env build - run: | - bash ${{ github.workspace }}/.github/workflows/scripts/prepare_env_with_conda.sh "unit-test-bestla" "3.8" - conda activate unit-test-bestla || source activate unit-test-bestla - if [[ "${{ env.INPUT_COMPILER_VERSION }}" != "11.4.1" ]]; then - conda install --update-deps -c conda-forge gxx==${{ env.INPUT_COMPILER_VERSION }} gcc==${{ env.INPUT_COMPILER_VERSION }} gxx_linux-64==${{ env.INPUT_COMPILER_VERSION }} libstdcxx-ng sysroot_linux-64 -y - fi - name: Run UT run: | - conda activate unit-test-bestla || source activate unit-test-bestla + conda deactivate + source /opt/rh/gcc-toolset-12/enable cd ${{ github.workspace }}/bestla && mkdir build && cd build && cmake .. -DBTLA_UT_ALL=ON && make -j ./bestla_ut 2>&1 | tee unit_test_bestla.log