Skip to content

Commit

Permalink
removed external packages and cache from workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Dec 11, 2023
1 parent efd2c13 commit 42417f9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 63 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,39 +23,14 @@ jobs:
color: true
path: spack

- name: Find external packages
run: |
spack -e tests external find --not-buildable cmake
spack -e tests external find --not-buildable perl
spack -e tests external find --not-buildable m4
spack -e tests external find --not-buildable libtool
spack -e tests external find --not-buildable autoconf
spack -e tests external find --not-buildable automake
spack -e tests external find --not-buildable pkg-config
spack -e tests external find --not-buildable gmake
- name: Add mochi-spack-packages
run: |
git clone https://github.com/mochi-hpc/mochi-spack-packages
spack -e tests repo add mochi-spack-packages
- name: Concretizing spack environment
run: |
spack -e tests concretize -f
- name: Create cache key from environment file
run: |
jq --sort-keys 'del(.spack.commit) | del(.roots)' tests/spack.lock > key.json
- name: Restore Spack cache
uses: actions/cache@v2
with:
path: ~/.spack-ci
key: spack-${{ hashFiles('key.json') }}

- name: Install spack environment
run: |
spack -e tests install
spack -e tests install --no-check-signature
- name: Show spack-installed packages for debugging
run: |
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,36 +28,11 @@ jobs:
color: true
path: spack

- name: Find external packages
run: |
spack -e tests external find --not-buildable cmake
spack -e tests external find --not-buildable perl
spack -e tests external find --not-buildable m4
spack -e tests external find --not-buildable libtool
spack -e tests external find --not-buildable autoconf
spack -e tests external find --not-buildable automake
spack -e tests external find --not-buildable pkg-config
spack -e tests external find --not-buildable gmake
- name: Add mochi-spack-packages
run: |
git clone https://github.com/mochi-hpc/mochi-spack-packages
spack -e tests repo add mochi-spack-packages
- name: Install spack environment
run: |
spack -e tests concretize -f
- name: Create cache key from environment file
run: |
jq --sort-keys 'del(.spack.commit) | del(.roots)' tests/spack.lock > key.json
- name: Restore Spack cache
uses: actions/cache@v2
with:
path: ~/.spack-ci
key: spack-${{ hashFiles('key.json') }}

- name: Install spack environment
run: |
spack -e tests install
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,6 @@ jobs:
color: true
path: spack

- name: Find external packages
run: |
sudo apt install -y jq
spack -e tests external find --not-buildable cmake
spack -e tests external find --not-buildable perl
spack -e tests external find --not-buildable m4
spack -e tests external find --not-buildable libtool
spack -e tests external find --not-buildable autoconf
spack -e tests external find --not-buildable automake
spack -e tests external find --not-buildable pkg-config
spack -e tests external find --not-buildable gmake
- name: Add mochi-spack-packages
run: |
git clone https://github.com/mochi-hpc/mochi-spack-packages
Expand Down

0 comments on commit 42417f9

Please sign in to comment.