Skip to content

Commit 9524fa1

Browse files
committed
allow fresh concretization
1 parent 6df8c58 commit 9524fa1

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: Spack buildcache build
22

3-
on: push
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
inputs:
9+
name:
10+
type: boolean
11+
description: Create a fresh buildcache
12+
default: false
413

514
env:
615
SPACK_BACKTRACE: please
@@ -20,8 +29,13 @@ jobs:
2029
- name: Find compilers
2130
run: spack -e . compiler find --mixed-toolchain
2231

32+
- name: Concretize (fresh)
33+
run: spack -e . -v concretize
34+
if: ${{ github.event.inputs.name == 'true' }}
35+
2336
- name: Concretize
2437
run: spack -e . -v concretize
38+
if: ${{ github.event.inputs.name == 'false' }}
2539

2640
- name: Install
2741
run: |

0 commit comments

Comments
 (0)