Skip to content

Commit

Permalink
Update github actions and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
climbfuji committed Oct 23, 2024
1 parent efb23cc commit d75cb5b
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/actions/Nightly_01_DirectorySetup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ runs:
# Get day of week for later use and write to file
DOW=$(date +%u)
echo "${DOW}" > DOW_SAVE.log
## DH* TODO REMOVE LATER?
#RUNDIR=${BASEDIR}/${RUNID}
#rm -vfr ${RUNDIR}
## *DH
#
cd util/weekly_build
./01_DirectorySetup.sh ${RUNID} ${BASEDIR} ${PLATFORM}
1 change: 0 additions & 1 deletion .github/actions/Nightly_02_GetSpackStack/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ runs:
shell: bash
run: |
RUNID=$(<RUNID_SAVE.log)
echo "Got RUNID from file: '${RUNID}'"
cd util/weekly_build
./02_GetSpackStack.sh ${RUNID} ${BASEDIR} ${PLATFORM}
49 changes: 49 additions & 0 deletions .github/workflows/nautilus-nightly-intel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: nautilus unified-env intel

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/intel
PLATFORM: nautilus
COMPILERS: intel

jobs:

nightly-build-intel:
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

0 comments on commit d75cb5b

Please sign in to comment.