Skip to content

Adding new files for github actions testing of spack package #66

Adding new files for github actions testing of spack package

Adding new files for github actions testing of spack package #66

Workflow file for this run

name: Spack
# Controls when the workflow will run
on:
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
slate_spack:
timeout-minutes: 360
strategy:
matrix:
device: [gpu_nvidia, gpu_amd, cpu]
fail-fast: false
runs-on: ${{ matrix.device }}
steps:
- uses: actions/checkout@v4
- name: Build Dependencies
run: .github/workflows/spack.sh deps ${{matrix.device}}
- name: Build SLATE
run: .github/workflows/spack.sh build ${{matrix.device}}
- name: Pre-install Test
run: .github/workflows/spack.sh test ${{matrix.device}}
- uses: actions/upload-artifact@v4
if: always()
with:
name: slate spack ${{matrix.device}} pre-install-test
path: spack-stage/install-time-test-log.txt
- name: Post-install Test
run: .github/workflows/spack.sh smoke ${{matrix.device}}