Skip to content

Commit

Permalink
back to full testing
Browse files Browse the repository at this point in the history
  • Loading branch information
loriab committed Sep 1, 2023
1 parent a7b16cd commit 6128679
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
build_type : [ Release ]
build_type : [ Release, Debug ]
os : [ macos-latest, ubuntu-20.04 ]
include:
- os: ubuntu-20.04
Expand Down Expand Up @@ -99,8 +99,10 @@ jobs:
shell: bash
working-directory: ${{github.workspace}}/build/compiler
run: |
CPPFLAGS="-I$EIGEN3_INCLUDE_DIR" CXXFLAGS="-std=c++11 -Wno-enum-compare" ${{github.workspace}}/configure --with-max-am=2 --with-eri-max-am=2 --with-eri3-max-am=3 --enable-eri=0 --enable-eri3=0 --enable-1body=0 --disable-1body-property-derivs --with-multipole-max-order=2
CPPFLAGS="-I$EIGEN3_INCLUDE_DIR" CXXFLAGS="-std=c++11 -Wno-enum-compare" ${{github.workspace}}/configure --with-max-am=2,2 --with-eri-max-am=2,2 --with-eri3-max-am=3,2 --enable-eri=1 --enable-eri3=1 --enable-1body=1 --disable-1body-property-derivs --with-multipole-max-order=2
make -j3
make check
cd src/bin/test_eri && ./stdtests.pl && cd ../../..
make export
echo "ARTIFACT=`ls -1 libint*tgz`" >> $GITHUB_ENV
Expand Down Expand Up @@ -154,8 +156,11 @@ jobs:
cmake --build . --target libint2-python-test
build_export:
# to debug the second stage, one can only run Linux/Release from the first stage and squash all the testing and extra steps.
# doing so can bring the first stage down to 6 minutes.
# to debug the second stage, it is handy to short-circuit the first stage down to ~6 minutes:
# * run only the Linux/Release (remove items from matrix.build_type and matrix.os)
# * don't generate any derivative ints (edit CPPFLAGS)
# * turn off generator testing (comment out "make check" and "stdtests.pl" lines)
# * suppress last two (test library and bindings) steps ("if: false")
needs: build_repo
strategy:
fail-fast: false
Expand Down

0 comments on commit 6128679

Please sign in to comment.