Skip to content

Commit

Permalink
added daily spack build workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Sep 17, 2024
1 parent accc9b7 commit 9ff9ac6
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build the latest release using Spack

on:
workflow_dispatch: {}
schedule:
- cron: "0 0 * * *"

jobs:
build:
runs-on: ubuntu-22.04
name: Build the latest version of the package
steps:
- uses: actions/checkout@v4
- uses: mochi-hpc/mochi-test-build-action@v1
with:
build-cache-token: ${{ secrets.GITHUB_TOKEN }}
17 changes: 17 additions & 0 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Build the main version using Spack

on:
workflow_dispatch: {}
schedule:
- cron: "0 0 * * *"

jobs:
build:
runs-on: ubuntu-22.04
name: Build the main version of the package
steps:
- uses: actions/checkout@v4
- uses: mochi-hpc/mochi-test-build-action@v1
with:
package-version: "@main"
build-cache-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9ff9ac6

Please sign in to comment.