Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/build-llvm-container.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Containers - build llvm container for clang-format checker

on:
push: # temporary
workflow_dispatch:

concurrency:
Expand All @@ -21,22 +22,22 @@ jobs:
uses: actions/checkout@v6
with:
repository: spack/spack
ref: v0.21.0
ref: v1.1.0
path: spack

- name: Setup Spack
run: echo "$PWD/spack/bin" >> "$GITHUB_PATH"

- name: Setup Spack Binary Cache
run: |
spack mirror add v0.21.0 https://binaries.spack.io/v0.21.0
spack mirror add v1.1.0 https://binaries.spack.io/v1.1.0
spack mirror add --oci-username ${{ github.actor }} --oci-password ${{ secrets.OCI_TOKEN }} sundials_spack_cache oci://ghcr.io/LLNL/sundials_spack_cache
spack buildcache keys --install --trust

- name: Install llvm@17.0.4
run: spack install --no-check-signature llvm@17.0.4
- name: Install llvm@17.0.6
run: spack install --no-check-signature llvm@17.0.6

- name: Push to buildcache
if: ${{ !cancelled() }}
run: |
spack buildcache push --force --base-image ubuntu:22.04 sundials_spack_cache llvm
spack buildcache push --force --base-image ubuntu:22.04 sundials_spack_cache_new llvm
Loading