Skip to content

Commit

Permalink
feat: add key4hep-spack to build_packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc authored Dec 20, 2023
1 parent 6b8fc35 commit be176f7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
run: echo "FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
- uses: actions/checkout@v3
with:
path: eic-spack
fetch-depth: ${{ env.FETCH_DEPTH }}
- name: Set spack container tag
id: set-tag
Expand All @@ -41,6 +42,7 @@ jobs:
- name: Set modified package matrix
id: set-matrix
run: |
cd eic-spack
echo "github.sha=${{ github.sha }}"
echo "github.event.pull_request.head.sha=${{ github.event.pull_request.head.sha }}"
echo "github.event.pull_request.base.sha=${{ github.event.pull_request.base.sha }}"
Expand Down Expand Up @@ -80,10 +82,17 @@ jobs:
container: ghcr.io/spack/ubuntu-jammy:${{needs.generate-matrix.outputs.tag}}
steps:
- uses: actions/checkout@v3
- name: Setup eic-spack repository
with:
path: key4hep-spack
repository: key4hep/key4hep-spack
- uses: actions/checkout@v3
with:
path: eic-spack
- name: Setup key4hep-spack and eic-spack repositories
run: |
. /opt/spack/share/spack/setup-env.sh
spack repo add $PWD
spack repo add ${GITHUB_WORKSPACE}/key4hep-spack
spack repo add ${GITHUB_WORKSPACE}/eic-spack
spack repo list
- name: Concretize package ${{ matrix.pkg }}
run: |
Expand Down

0 comments on commit be176f7

Please sign in to comment.