Commit Graph

143 Commits

Author SHA1 Message Date
Ray Speth
63313b08d5 [CI] Only run relevant tests for different Sundials versions 2023-05-09 15:03:46 -05:00
Ray Speth
a7cd8ee5b7 [CI] Fix missing libraries for 'run-examples' job 2023-05-09 15:03:46 -05:00
Ray Speth
45dced25bf [CI] Skip slow conda cleanup step on Windows 2023-05-09 15:03:46 -05:00
Ray Speth
7ed6e800b6 [CI] Fix missing dependency for 'prerelease-cython' job 2023-05-09 15:03:46 -05:00
Ray Speth
c06ecf1bfb [CI] Fix matrix for 'run-examples' job 2023-05-09 15:03:46 -05:00
Bryan Weber
700fd6a10b General cleanups 2023-04-25 18:14:19 -04:00
Bryan Weber
5fcfef7d1c [CI] Fix example installation 2023-04-25 18:14:19 -04:00
Bryan Weber
b17ef0c510 [CI] Don't use PyPI index when installing Cantera
Ensure that we only install the wheel from the archive and don't
accidentally reach out to PyPI.
2023-04-25 18:14:19 -04:00
Bryan Weber
e3fb356228 [CI] Add --pre option to sample installation step
This is required to find the version of Cantera in the dist folder. By
default, pip only finds stable versions, and in this case, was going out
to PyPI to find Cantera rather than use the local artifact. However, we
can't set --no-index because we also need to install other dependencies
from PyPI.
2023-04-25 18:14:19 -04:00
Bryan Weber
d469ab2811 Fix testing and docs build failures 2023-04-25 18:14:19 -04:00
Bryan Weber
f1a61f8d16 [CI] Run examples from installed wheel
This lets us check whether the wheel is built properly and includes all
the files necessary for the package to function.
2023-04-25 18:14:19 -04:00
Bryan Weber
4ef563edb0 add pint dependency to CI 2023-04-25 18:14:19 -04:00
Ingmar Schoegl
708a8bfbba [CI] Force system_highfive on windows-2022 2023-04-14 13:06:45 -04:00
Ray Speth
3cbe8aa1a6 [CI] Add CI tests that run only after a PR is merged to main
Currently used for testing pre-release versions of Cython
2023-03-19 16:32:38 -05:00
Ray Speth
bf7d079f8a [CI] Run with _GLIBCXX_ASSERTIONS enabled 2023-02-24 19:32:34 -05:00
Ray Speth
6910c8d839 [CI] Show timing info for brew install commands
Trying this to understand why this step can sometimes take
upwards of 8 minutes.
2023-02-02 18:33:16 -06:00
Ray Speth
7a891d0685 [CI] Use newer Python/Windows for MinGW builds 2023-02-02 18:33:16 -06:00
Ray Speth
caa99f88de [CI] Upload MinGW libraries and gtest binaries for debugging 2023-02-02 18:33:16 -06:00
Ray Speth
5729492c2c [CI] Disable mucking around with MinGW libraries 2023-02-02 18:33:16 -06:00
Ray Speth
ca527b48c4 [CI] Upload wheel from MinGW to enable debugging 2023-02-02 18:33:16 -06:00
Ray Speth
8114f2f828 [SCons] Link Python module to Cantera shared library 2023-02-02 18:33:16 -06:00
Ray Speth
3b6be9b4de [CI] Update action versions to resolve warnings 2023-01-21 17:43:37 -06:00
Ray Speth
c94f556a4e [CI] Fix mambaforge setup 2023-01-21 17:43:37 -06:00
Ray Speth
a84bc03866 [CI] Print GCC version on Ubuntu builders 2023-01-21 17:43:37 -06:00
Ingmar Schoegl
f6cdcbc3dc Address review comments 2023-01-12 14:05:37 -05:00
Ray Speth
f550faa477 [Python] Defer import of h5py until time of use
This avoids potential conflicts between the versions of libhdf5 linked
to the Cantera library and h5py, which could occur when a C++ main
application made use of the Python ExtensibleRate class.
2023-01-12 14:05:37 -05:00
Ingmar Schoegl
0aca5f7004 [CI] Test HighFive installation routes 2023-01-12 14:05:37 -05:00
Ingmar Schoegl
6550238337 [CI] Add highfive HDF to workflows 2023-01-12 14:05:37 -05:00
Ray Speth
7d86e26112 [CI] Make h5py optional for some builds
PyPI packages are not always available for the most recent Python version
on all platforms.
2022-11-21 09:00:30 -06:00
Ray Speth
e43cf38940 [CI] Use correct Python version on macOS
Linking to libpython with GitHub's Python 3.8 and 3.10 requires linking
to libintl, but no compatible version of this library is present in
the GitHub actions images (the Homebrew one has the wrong "macOS deployment
target"). This problem is fixed in GitHub's build of Python 3.11.

Scons 4.4.0 (and maybe other versions) can't be pip installed for the
Homebrew Python, since it tries to write man pages into an incorrect,
read-only directory.

The Homebrew-installed Python was never actually being used. All macOS
builds are done using Python cached in the GitHub actions image.
2022-11-21 09:00:30 -06:00
Ray Speth
b0932bb446 [CI] Test with Sundials 6.4.1 2022-11-21 09:00:30 -06:00
Ray Speth
d5068c7f55 [CI] Test with Python 3.11 2022-11-21 09:00:30 -06:00
Ingmar Schoegl
577455cf14 [CI] Probe different SCons versions 2022-11-04 09:32:05 -05:00
Bryan Weber
ce75be4e15 [SCons] Integrate MSVC options introduced in SCons 4.4.0
- Include changes suggested by jcbrill
2022-11-04 09:32:05 -05:00
Ray Speth
9f4e644285 [CI] Save HTML coverage report for .NET interface 2022-11-03 19:37:50 -05:00
Ray Speth
923a52dddf [CI] Collect coverage info for .NET 2022-11-03 19:37:50 -05:00
Ray Speth
3ddcea649a [CI] Test .NET interface 2022-11-03 19:37:50 -05:00
Ray Speth
e20a57acfb Fix Python package build on Windows with setuptools >= 65.4.0
For some reason, setuptools thinks it needs to be able to find the user's
home directory to build a wheel, but on Windows this relies on an environment
variable (USERPROFILE) that we weren't by default passing in through SCons.
2022-09-29 16:02:27 -05:00
Bryan Weber
7684653bb2 [CI] Fix running examples by ignoring warnings
Matplotlib 3.6.0 introduced a new incidental warning which has nothing
to do with our code. This change ignores that warning so other warnings
can still be caught.
2022-09-28 21:01:46 -04:00
Ingmar Schoegl
0cd37f0bb0 [CI] Disable Fortran for OneAPI runners
Unit tests fail for optimized LAPACK libraries (see #1393)
2022-09-24 21:36:53 -04:00
Ingmar Schoegl
51627cd22c [CI] Add libraries to test SCons system_blas_lapack 2022-09-24 21:36:53 -04:00
Ray Speth
567f5d96e6 [CI] Switch to Homebrew Python on macOS
This avoids weird linker issues where the GitHub Actions Python
required linkage to libintl but the only available version of
libintl, installed in Homebrew, was targeting a different macOS
version.
2022-09-11 10:59:30 -04:00
Ray Speth
4f45b14c98 Scan user-provided Python module for ExtensibleRate classes 2022-09-11 10:59:30 -04:00
Ingmar Schoegl
b0076eb42f [CI] Remove ubuntu-18.04 and add ubuntu-22.04 2022-08-23 07:15:32 -04:00
Ray Speth
28ef6f7540 [CI] Upload Python HTML coverage results 2022-08-11 07:19:17 -04:00
Ray Speth
a44908aa59 [CI] Generate Python coverage data for Codecov 2022-08-11 07:19:17 -04:00
Ingmar Schoegl
b7f582b162 [samples] Move Python examples to standard location and update SCons 2022-08-06 18:34:07 -05:00
Bryan Weber
b86674c992 [CI] Reduce to one macOS version
Due to the scarcity of GH provided runners, we'll only do one macOS version for now. The lead developers tend to run the latest macOS locally anyways, so it shouldn't be a problem to catch issues as they arise.
2022-07-27 11:14:48 +02:00
Bryan Weber
039d5518e6 [CI] Bump macOS version for testing
Per the changelog, macOS-10.15 support will be dropped in August, 2022

https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22/
2022-07-27 11:14:48 +02:00
Ray Speth
3a294dd3d4 Test with Sundials 6.2 2022-07-24 19:50:19 -04:00