-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from MuonColliderSoft/master
Frozen stack configuration for release 2.8
- Loading branch information
Showing
8 changed files
with
108 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: concretize-template | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
target: | ||
required: true | ||
type: string | ||
jobs: | ||
concretize: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
steps: | ||
- name: Checkout Spack | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: spack/spack | ||
path: spack | ||
|
||
- name: Checkout Key4hep | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: key4hep/key4hep-spack | ||
path: key4hep-spack | ||
|
||
- name: Checkout this repo | ||
uses: actions/checkout@v3 | ||
with: | ||
path: mucoll-spack | ||
|
||
- name: Concretize mucoll-common | ||
run: | | ||
source spack/share/spack/setup-env.sh | ||
spack --version | ||
spack repo add key4hep-spack | ||
spack repo add mucoll-spack | ||
spack compiler find | ||
spack env activate mucoll-spack/environments/mucoll-${{ inputs.target }} | ||
spack add mucoll-stack %gcc@11: | ||
spack concretize | ||
spack spec -Nt > ${GITHUB_WORKSPACE}/spec-${{ inputs.target }}.log | ||
- name: Store artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: spec-list | ||
path: ${GITHUB_WORKSPACE}/spec-${{ inputs.target }}.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: concretize-ubuntu | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
concretize: | ||
strategy: | ||
matrix: | ||
target: [common, release, release-debug] | ||
uses: ./.github/workflows/concretize-template.yaml | ||
with: | ||
target: ${{ matrix.target }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
# Very loose requirements for nightly builds | ||
packages: | ||
geant4: | ||
variants: +qt+opengl+vecgeom cxxstd=17 | ||
variants: ~qt+opengl+vecgeom cxxstd=17 | ||
root: | ||
variants: +davix+gsl+math~memstat+minuit+mlp+opengl~postgres~pythia6+pythia8+python~qt4+r+root7+roofit+rpath~shadow+sqlite+ssl~table+tbb+threads+tmva+unuran+vc+vdt+x+xml+xrootd cxxstd=17 build_type=RelWithDebInfo | ||
variants: +davix+fftw+gsl+math+minuit+mlp+opengl~postgres~pythia6+pythia8+python+r+root7+roofit+rpath~shadow+sqlite+ssl+tbb+threads+tmva+unuran+vc+vdt+x+xml+xrootd cxxstd=17 build_type=RelWithDebInfo | ||
dd4hep: | ||
variants: +lcio+xercesc+hepmc3+edm4hep | ||
whizard: | ||
variants: ~fastjet~latex+lcio~lhapdf+openloops~openmp+pythia8 hepmc=3 | ||
pythia8: | ||
variants: ~hepmc+hepmc3 | ||
k4simdelphes: | ||
variants: ~delphes_hepmc | ||
all: | ||
target: [x86_64] | ||
variants: build_type=Release cxxstd=17 | ||
buildable: true | ||
providers: | ||
gl: [mesa] | ||
glu: [mesa] | ||
glu: [mesa] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mucoll-release/packages.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
spack: | ||
include: | ||
- packages.yaml | ||
packages: | ||
all: | ||
variants: build_type=Debug cxxstd=17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters