Use action fork #7
Workflow file for this run
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
--- | |
name: Build SST within Spack | |
# yamllint disable-line rule:truthy | |
on: | |
pull_request: | |
push: | |
jobs: | |
install-spack: | |
runs-on: ubuntu-latest | |
name: Within Spack version:${{ matrix.version }} / os:${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
version: | |
- '13.1.0' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Spack | |
uses: berquist/spack-package-action/install@8-add-spack-to-path | |
- name: Install sst-core, sst-elements, and sst-macro | |
run: | | |
echo "PATH: ${PATH}" | |
echo "GITHUB_PATH: ${GITHUB_PATH}" | |
[[ -n "${GITHUB_PATH}" ]] && cat "${GITHUB_PATH}" | |
spack env create sst | |
spack env activate sst | |
spack add sst-core@${{ matrix.version }} | |
spack add sst-elements@${{ matrix.version }} | |
spack add sst-macro@${{ matrix.version }} | |
spack install |