Skip to content

Commit c95423d

Browse files
build spack build cache in ci
1 parent 2ea0710 commit c95423d

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: spack build cache
2+
3+
on:
4+
push:
5+
branches: [ main, numpex ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build-cache:
11+
runs-on: ubuntu-24.04
12+
permissions:
13+
packages: write
14+
steps:
15+
- name: Build & Push Spack Buildcache
16+
uses: numpex/spack-buildcache-action@v1
17+
with:
18+
env-variant: default
19+
mirror: pdidev/tutorial
20+
repo-packages: pdidev/tutorial
21+
repo-packages-path: spack_env
22+
# spack-path: _spack
23+
# base-image: ubuntu:24.04
24+
name: List installed specs
25+
run: |
26+
. _spack/share/spack/setup-env.sh
27+
spack find -lv

0 commit comments

Comments
 (0)