Skip to content

Test Build

Test Build #953

Workflow file for this run

name: Test Build
on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- 'packages/**'
schedule:
- cron: '0 4 * * *'
jobs:
package-builds:
name: Test Package Builds
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
# package and requiring fortran to be installed (only pmix)
package: [[flux-core, false], [flux-sched, false], [flux-pmix, true], [flux-security, false]]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Test Build
uses: sciworks/spack-updater/build@main
with:
package: ${{ matrix.package[0] }}
fortran: "${{ matrix.package[1] == true }}"
- name: Save Stage on Failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: spack-stage-${{ matrix.package[0] }}
path: /tmp/runner/spack-stage