diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0a7b4e981..dcbd5bb58 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -104,6 +104,9 @@ jobs: path: build/lib/libcantera_shared.so name: libcantera_shared-${{ matrix.os }}.so retention-days: 2 + - name: Build Tests + run: + python3 `which scons` -j4 build-tests - name: Test Cantera run: python3 `which scons` test show_long_tests=yes verbose_tests=yes --debug=time @@ -146,6 +149,9 @@ jobs: CXX=clang++-14 CC=clang-14 f90_interface=n extra_lib_dirs=/usr/lib/llvm/lib -j4 debug=n --debug=time hdf_libdir=$HDF5_LIBDIR hdf_include=$HDF5_INCLUDEDIR logging=debug warning_flags='-Wall -Werror -Wsuggest-override' + - name: Build Tests + run: + python3 `which scons` -j4 build-tests - name: Test Cantera run: python3 `which scons` test show_long_tests=yes verbose_tests=yes --debug=time @@ -194,6 +200,9 @@ jobs: path: build/lib/libcantera_shared.dylib name: libcantera_shared.dylib retention-days: 2 + - name: Build Tests + run: + scons -j3 build-tests - name: Test Cantera run: scons test show_long_tests=yes verbose_tests=yes --debug=time @@ -240,6 +249,9 @@ jobs: optimize=n skip_slow_tests=y no_optimize_flags='-DNDEBUG -O0' \ FORTRANFLAGS='-O0' env_vars=all -j4 --debug=time \ hdf_libdir=$HDF5_LIBDIR hdf_include=$HDF5_INCLUDEDIR + - name: Build Tests + run: + python3 `which scons` -j4 build-tests - name: Test Cantera run: python3 `which scons` test show_long_tests=yes verbose_tests=yes --debug=time @@ -572,6 +584,8 @@ jobs: path: build/lib/cantera_shared.dll name: cantera_shared.dll retention-days: 2 + - name: Build Tests + run: scons -j4 build-tests - name: Test Cantera run: scons test show_long_tests=yes verbose_tests=yes --debug=time shell: pwsh @@ -647,6 +661,8 @@ jobs: python_package=full env_vars=USERPROFILE,GITHUB_ACTIONS msvc_version=${{ matrix.vs-toolset }} f90_interface=n --debug=time shell: cmd + - name: Build Tests + run: scons -j4 build-tests - name: Test Cantera run: scons test show_long_tests=yes verbose_tests=yes --debug=time @@ -697,6 +713,9 @@ jobs: run: python3 `which scons` build env_vars=all CC=icx CXX=icpx -j4 debug=n hdf_libdir=$HDF5_LIBDIR hdf_include=$HDF5_INCLUDEDIR --debug=time f90_interface=n # FORTRAN=ifx + - name: Build Tests + run: + python3 `which scons` -j4 build-tests - name: Test Cantera run: | python3 `which scons` test show_long_tests=yes verbose_tests=yes --debug=time @@ -755,6 +774,8 @@ jobs: path: build\python\dist\Cantera*.whl name: Cantera-win_amd64.whl retention-days: 2 + - name: Build Tests + run: scons -j4 build-tests - name: Test Cantera run: scons test show_long_tests=yes verbose_tests=yes --debug=time - name: Upload Test binaries diff --git a/.github/workflows/post-merge-tests.yml b/.github/workflows/post-merge-tests.yml index a552fb40a..69822aa1c 100644 --- a/.github/workflows/post-merge-tests.yml +++ b/.github/workflows/post-merge-tests.yml @@ -45,6 +45,8 @@ jobs: CXX=clang++-14 CC=clang-14 f90_interface=n extra_lib_dirs=/usr/lib/llvm/lib -j4 debug=n --debug=time hdf_libdir=$HDF5_LIBDIR hdf_include=$HDF5_INCLUDEDIR logging=debug + - name: Build Tests + run: python3 `which scons` -j4 build-tests - name: Test Cantera run: python3 `which scons` test show_long_tests=yes verbose_tests=yes --debug=time @@ -93,6 +95,8 @@ jobs: system_eigen=y system_fmt=y system_sundials=y system_yamlcpp=y \ system_blas_lapack=y hdf_support=y f90_interface=y \ cc_flags=-D_GLIBCXX_ASSERTIONS + - name: Build Tests + run: scons -j4 build-tests - name: Test Cantera run: scons test verbose_tests=yes --debug=time @@ -132,6 +136,8 @@ jobs: system_yamlcpp=y system_blas_lapack=y hdf_support=y # note: 'system_highfive=y' is omitted as the current packaged version is too old; # once newer version is available in 'latest', this should be tested as well + - name: Build Tests + run: scons -j4 build-tests - name: Test Cantera run: scons test verbose_tests=yes --debug=time @@ -176,6 +182,8 @@ jobs: python3 `which scons` build env_vars=all -j4 debug=n --debug=time \ system_fmt=y hdf_libdir=$HDF5_LIBDIR hdf_include=$HDF5_INCLUDEDIR \ system_blas_lapack=y hdf_support=y cc_flags=-D_GLIBCXX_ASSERTIONS + - name: Build Tests + run: python3 `which scons` -j4 build-tests - name: Test Cantera run: python3 `which scons` test show_long_tests=yes verbose_tests=yes --debug=time @@ -206,5 +214,7 @@ jobs: ./.venv/bin/python -m pip install ruamel.yaml numpy cython pandas pytest pytest-github-actions-annotate-failures pint graphviz - name: Build Cantera run: $(brew --prefix)/bin/scons build env_vars=all python_cmd="$(pwd)/.venv/bin/python" -j3 debug=n --debug=time boost_inc_dir=${BOOST_INC_DIR} + - name: Build Tests + run: $(brew --prefix)/bin/scons -j3 build-tests - name: Test Cantera run: $(brew --prefix)/bin/scons test show_long_tests=yes verbose_tests=yes --debug=time