Skip to content

Commit

Permalink
Merge pull request #557 from Cytnx-dev/haoti/test_mac_build
Browse files Browse the repository at this point in the history
Use channel conda forge.
  • Loading branch information
hunghaoti authored Jan 3, 2025
2 parents 569f756 + b682af5 commit c1a18d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci-cmake_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
- name: Install dependencies
shell: bash -l {0}
run: |
echo "Config Conda---------------------------------"
mamba install anaconda-client boa -c conda-forge
if [ "${{ runner.os }}" == "Linux" ]; then
mamba install _openmp_mutex=*=*_llvm
elif [ "${{ runner.os }}" == "macOS" ]; then
Expand All @@ -59,7 +62,7 @@ jobs:
- name: Configure CMake
shell: bash -l {0}
run: cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -DCMAKE_INSTALL_PREFIX=/home/runner/work/Cytnx_lib -DUSE_MKL=on -DUSE_HPTT=on -DHPTT_ENABLE_FINE_TUNE=off -DHPTT_ENABLE_AVX=off -DBUILD_PYTHON=on -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DRUN_TESTS=on
run: cmake -S ${{github.workspace}} -B ${{github.workspace}}/build -DCMAKE_INSTALL_PREFIX=/home/runner/work/Cytnx_lib -DUSE_MKL=on -DUSE_HPTT=on -DHPTT_ENABLE_FINE_TUNE=on -DHPTT_ENABLE_AVX=off -DBUILD_PYTHON=on -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DRUN_TESTS=on

- name: Build
shell: bash -l {0}
Expand Down

0 comments on commit c1a18d3

Please sign in to comment.