-
Notifications
You must be signed in to change notification settings - Fork 4
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 #2 from haampie-spack/main
Fix macOS and allow pinning of spack
- Loading branch information
Showing
3 changed files
with
41 additions
and
12 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 |
---|---|---|
|
@@ -12,16 +12,20 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-18.04, ubuntu-20.04] | ||
os: | ||
- ubuntu-18.04 | ||
- ubuntu-20.04 | ||
- macos-10.15 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: "Set up Spack" | ||
- name: Set up Spack | ||
uses: ./ | ||
with: | ||
os: ${{ matrix.os }} | ||
ref: develop | ||
- run: spack --version | ||
- run: spack config blame config | ||
- run: spack install zlib | ||
- run: which patchelf | ||
- run: which patchelf |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,31 @@ jobs: | |
os: | ||
- ubuntu-18.04 | ||
- ubuntu-20.04 | ||
- macos-10.15 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- name: "Set up Spack" | ||
- name: Set up Spack | ||
uses: haampie-spack/setup-spack@v1 | ||
with: | ||
os: ${{ matrix.os }} | ||
- run: spack --version | ||
- run: spack install zlib | ||
``` | ||
ref: develop | ||
- run: | | ||
spack --version | ||
spack install zlib | ||
``` | ||
## How is Spack bootstrapped? | ||
This environment is built | ||
https://github.com/haampie-spack/setup-spack/blob/rebuild-spack/spack.yaml | ||
and the binaries are uploaded as release assets to | ||
https://github.com/haampie-spack/setup-spack/releases/tag/develop | ||
Todo: | ||
- [ ] Add checksum verification |