Add weekly build/test scripts #1
Workflow file for this run
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: nautilus unified-env oneapi | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- develop | |
types: [opened, synchronize, reopened] | |
# Is this UTC? | |
#schedule: | |
# - cron: '0 8 * * *' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
env: | |
BASEDIR: /p/work2/heinzell/spack-stack-nightly/oneapi | |
PLATFORM: nautilus | |
COMPILERS: oneapi | |
jobs: | |
nightly-build-oneapi: | |
runs-on: ['self-hosted','nautilus-heinzell'] | |
# Set timeout to 12hrs | |
timeout-minutes: 720 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
clean: true | |
- name: 01_DirectorySetup | |
uses: ./.github/actions/Nightly_01_DirectorySetup | |
- name: 02_GetSpackStack | |
uses: ./.github/actions/Nightly_02_GetSpackStack | |
- name: 03_SetupEnv | |
uses: ./.github/actions/Nightly_03_SetupEnv | |
- name: 04_SpackInstall | |
uses: ./.github/actions/Nightly_04_SpackInstall | |
- name: 05_BuildCache | |
uses: ./.github/actions/Nightly_05_BuildCache | |
# Skip step 6 - app test - for the moment | |
- name: 07_Cleanup | |
uses: ./.github/actions/Nightly_07_Cleanup |