Skip to content

Commit 16d09e8

Browse files
authored
Update CI to support +ipopt (^ipopt~coinhsl+mumps), +asan and +ubsan. (#139)
1 parent 1f74574 commit 16d09e8

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/spack_default_build.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
# Our repo name contains upper case characters, so we can't use ${{ github.repository }}
88
IMAGE_NAME: gridkit
99
USERNAME: gridkit-bot
10-
BASE_VERSION: ubuntu-24.04-fortran-v0.2.12
10+
BASE_VERSION: ubuntu-24.04-fortran-v0.2.13
1111

1212
# Until we remove the need to clone submodules to build, this should on be in PRs
1313
on: [pull_request]
@@ -99,11 +99,8 @@ jobs:
9999
llvm: ["16"]
100100
# Minimal Build(s) - GHCR mirror speeds these up a lot!
101101
spack_spec:
102-
- gridkit@develop +enzyme
103-
^enzyme@0.0.173
104-
^sundials@develop
105-
- gridkit@develop ~enzyme
106-
^sundials@develop
102+
- gridkit@develop ~asan+enzyme+ipopt~ubsan
103+
- gridkit@develop +asan~enzyme+ipopt+ubsan
107104

108105
steps:
109106
- name: Add LLVM
@@ -130,7 +127,7 @@ jobs:
130127
specs:
131128
- ${{ matrix.spack_spec }} target=x86_64_v2
132129
concretizer:
133-
unify: true
130+
unify: when_possible
134131
reuse: dependencies
135132
config:
136133
install_tree:
@@ -140,6 +137,12 @@ jobs:
140137
local-buildcache: oci://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/${{ env.BASE_VERSION }}
141138
spack: https://binaries.spack.io/v0.23.1
142139
packages:
140+
ipopt:
141+
require: ~coinhsl+mumps
142+
mumps:
143+
require: ~mpi~openmp
144+
sundials:
145+
require: '@develop'
143146
llvm:
144147
externals:
145148
- spec: llvm@${{ matrix.llvm }}

0 commit comments

Comments
 (0)