Create codacy-analysis.yaml #99
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: Check Spack Installation | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Spack | |
uses: spack/setup-spack@v2 | |
with: | |
ref: develop # Spack version (examples: develop, releases/v0.21) | |
buildcache: true # Configure oci://ghcr.io/spack/github-actions-buildcache | |
color: true # Force color output (SPACK_COLOR=always) | |
path: spack # Where to clone Spack | |
- name: Install ExaDEM With Spack | |
run: | | |
spack repo add spack_repo | |
spack install exadem | |