Skip to content

Commit

Permalink
Add weekly schedule (Sunday at 2:15 AM)
Browse files Browse the repository at this point in the history
  • Loading branch information
berquist committed Jan 24, 2024
1 parent 38a867d commit df749a6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build-spack-nodeps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,29 @@ name: Build SST within Spack
on:
pull_request:
push:
schedule:
- cron: '15 2 * * 0'

jobs:
install-spack:
runs-on: ${{ matrix.os }}
name: version:${{ matrix.version }} / os:${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
version:
- '13.1.0'
- 'master'
permissions:
packages: write
steps:
- uses: actions/checkout@v4
- name: Clone Spack
uses: actions/checkout@v4
with:
# Take the latest (develop) version.
repository: spack/spack
path: spack
- name: Add Spack to PATH and set mirror name
Expand All @@ -44,10 +48,9 @@ jobs:
- name: Install sst-core, sst-elements, and sst-macro
run: |
eval "$(spack env activate --sh .)"
# spack add sst-core@${{ matrix.version }}
# spack add sst-elements@${{ matrix.version }}
# spack add sst-macro@${{ matrix.version }}
spack add perl
spack add sst-core@${{ matrix.version }}
spack add sst-elements@${{ matrix.version }}
spack add sst-macro@${{ matrix.version }}
spack install --fail-fast
- name: Push packages and update index
run: |
Expand Down

0 comments on commit df749a6

Please sign in to comment.