diff --git a/.github/workflows/ci_cmake.yml b/.github/workflows/ci_cmake.yml index 64b3e83af..9a0a58def 100644 --- a/.github/workflows/ci_cmake.yml +++ b/.github/workflows/ci_cmake.yml @@ -164,7 +164,12 @@ jobs: if: ${{ steps.skip_check.outputs.should_skip != 'true' }} shell: bash working-directory: ${{github.workspace}}/build/compiler - run: cmake --build build --target libint2-python-test + run: | + if [[ "${{ matrix.subproject }}" == "ON" ]]; then + cmake --build build --target libint2-python-test + else + cmake --build build --target check-python + fi #rm -rf buildcm/ && cmake -S. -Bbuildcm -GNinja -DEXPORT_COMPRESSOR=bzip2 -DWITH_MAX_AM="2;2" -DWITH_ERI_MAX_AM="2;2" -DWITH_ERI3_MAX_AM="3;2" -DENABLE_ERI=1 -DENABLE_ERI3=1 -DMULTIPOLE_MAX_ORDER=2 -DBUILD_SHARED_LIBS=ON && time cmake --build buildcm --target check-libint2 @@ -289,7 +294,7 @@ jobs: -G Ninja \ -D CMAKE_INSTALL_PREFIX="${{github.workspace}}/installed" \ -D CMAKE_CXX_COMPILER=${CXX} \ - -D LIBINT2_PYTHON=OFF \ + -D LIBINT2_ENABLE_PYTHON=ON \ -D CMAKE_PREFIX_PATH="${CONDA_PREFIX}" \ ${{ matrix.cfg.libargs }} cmake --build build --target install