-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1eedfd8
commit ece19b6
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: 'Test on Phoenix' | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
self: | ||
name: Phoenix Runner | ||
runs-on: | ||
labels: gt | ||
if: github.repository == 'Comp-Physics/RBC3D' | ||
continue-on-error: true | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build Packages | ||
run: | | ||
ml gcc mvapich2 mkl python/3.9.12-rkxvr6 netcdf-c netcdf-cxx netcdf-fortran fftw | ||
bash rbc.sh install | ||
- name: Compile Cases | ||
run: | | ||
ml gcc mvapich2 mkl netcdf-c netcdf-cxx netcdf-fortran fftw | ||
set -e -x | ||
export PETSC_DIR=`pwd`/packages/petsc-3.19.6 | ||
export PETSC_ARCH=arch-linux-c-opt | ||
echo $PETSC_DIR | ||
echo $PETSC_ARCH | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make | ||
echo "/common and all cases in /examples compiled successfully!" |