Skip to content

Commit 953dbfc

Browse files
committed
Rework ci/cd to remove packaged sundials
1 parent 070ef75 commit 953dbfc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ jobs:
3939
libblas-dev \
4040
libtbb-dev \
4141
libsuperlu-dev \
42-
libeigen3-dev;
42+
libeigen3-dev \
43+
sundials;
4344
- name: Build and Install
4445
run: |
4546
cmake -E make_directory "${BUILD_DIR}"
4647
cmake -E make_directory "${INSTALL_PREFIX}"
4748
cd "${BUILD_DIR}"
48-
cmake -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" "${SRC_DIR}" -DENABLE_TESTS=ON -DNUM_MAX_AD_DIRS=1320
49+
cmake -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" "${SRC_DIR}" -DENABLE_TESTS=ON -DNUM_MAX_AD_DIRS=1320 -DENABLE_PACKAGED_SUNDIALS=OFF
4950
make install -j$(nproc)
5051
- name: Check if it runs
5152
run: |

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ jobs:
181181
libblas-dev \
182182
libtbb-dev \
183183
libsuperlu-dev \
184-
libeigen3-dev;
184+
libeigen3-dev \
185+
libsundials-dev;
185186
- name: Build and Install
186187
run: |
187188
cmake -E make_directory "${BUILD_DIR}"
@@ -267,6 +268,7 @@ jobs:
267268
brew install hdf5
268269
brew install tbb
269270
brew install eigen
271+
brew install sundials
270272
- name: Build and Install
271273
run: |
272274
cmake -E make_directory "${BUILD_DIR}"

0 commit comments

Comments
 (0)