Skip to content

Commit

Permalink
Update CI for Conda and Windows
Browse files Browse the repository at this point in the history
* Bintray is sunsetting, so download Boost from Sourceforge
* Use Miniforge in the Sundials builds, since Sundials comes from
conda-forge anyways
  • Loading branch information
bryanwweber committed Apr 16, 2021
1 parent 84cd45c commit 218be8a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ jobs:
multiple-sundials:
name: Sundials ${{ matrix.sundials-ver }}
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
strategy:
matrix:
sundials-ver: [ 2, 3, 4, 5.7 ]
Expand All @@ -221,11 +224,9 @@ jobs:
with:
auto-update-conda: true
python-version: 3.8
channel-priority: strict
channels: conda-forge
miniforge-version: latest
name: Set up conda
- name: Install conda dependencies
shell: bash -l {0}
run: |
conda install -q sundials=${{ matrix.sundials-ver }} scons numpy ruamel_yaml \
cython libboost fmt eigen yaml-cpp h5py pandas
Expand All @@ -234,10 +235,8 @@ jobs:
scons build extra_inc_dirs=$CONDA_PREFIX/include:$CONDA_PREFIX/include/eigen3 \
extra_lib_dirs=$CONDA_PREFIX/lib system_fmt=y system_eigen=y system_yamlcpp=y \
system_sundials=y -j2 VERBOSE=True debug=n
shell: bash -l {0}
- name: Test Cantera
run: scons test
shell: bash -l {0}

cython-latest:
name: Test pre-release version of Cython
Expand Down Expand Up @@ -270,7 +269,7 @@ jobs:
runs-on: ${{ matrix.os }}
env:
BOOST_ROOT: ${{github.workspace}}/3rdparty/boost
BOOST_URL: https://dl.bintray.com/boostorg/release/1.75.0/source/boost_1_75_0.7z
BOOST_URL: https://pilotfiber.dl.sourceforge.net/project/boost/boost/1.75.0/boost_1_75_0.7z
strategy:
matrix:
os: ['windows-2019']
Expand Down

0 comments on commit 218be8a

Please sign in to comment.