-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from Argonne-National-Laboratory/moose_fixes
Moose fixes
- Loading branch information
Showing
33 changed files
with
122 additions
and
119 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,46 @@ | ||
name: tests | ||
name: run-deer-tests | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
# We don't update deer all that often, but it is still of interest to know ASAP if a MOOSE update has broken deer | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
tests-linux: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
btype: [opt, dbg] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Setup build system | ||
run: | | ||
sudo apt update | ||
sudo apt install build-essential cmake libblas-dev liblapack-dev mpich libmpich-dev python3-dev | ||
- name: Compile neml | ||
run: | | ||
cd neml | ||
if [[ "${{ matrix.btype }}" == "opt" ]]; then type="Release"; elif [[ "${{ matrix.btype }}" == "dbg" ]]; then type="Debug"; fi | ||
cmake -DCMAKE_BUILD_TYPE=$type . | ||
make -j 2 | ||
- name: Compile extra MOOSE packages | ||
env: | ||
MOOSE_DIR: ${{github.workspace}}/moose | ||
run: | | ||
git clone https://github.com/idaholab/moose.git $MOOSE_DIR | ||
cd $MOOSE_DIR/scripts | ||
export MOOSE_JOBS=2 | ||
./update_and_rebuild_petsc.sh | ||
./update_and_rebuild_libmesh.sh | ||
- name: Compile code | ||
env: | ||
MOOSE_DIR: ${{github.workspace}}/moose | ||
run: | | ||
export MOOSE_DIR=$PWD/moose | ||
make -j 2 METHOD=${{ matrix.btype }} | ||
- name: Test code | ||
env: | ||
MOOSE_DIR: ${{github.workspace}}/moose | ||
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:${{github.workspace}}/neml/lib | ||
run: if [[ "${{ matrix.btype }}" == "opt" ]]; then ./run_tests --opt; elif [[ "${{ matrix.btype }}" == "dbg" ]]; then ./run_tests --dbg; fi | ||
tests-linux: | ||
name: Run tests on linux | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
btype: [opt, dbg] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
- name: Setup build system | ||
run: | | ||
sudo apt update | ||
sudo apt install build-essential cmake libblas-dev liblapack-dev mpich libmpich-dev python3-dev | ||
- name: Compile neml | ||
run: | | ||
cd neml | ||
if [[ "${{ matrix.btype }}" == "opt" ]]; then type="Release"; elif [[ "${{ matrix.btype }}" == "dbg" ]]; then type="Debug"; fi | ||
cmake -DCMAKE_BUILD_TYPE=$type -DUSE_OPENMP=OFF . | ||
make -j 2 | ||
- name: Compile extra MOOSE packages | ||
env: | ||
MOOSE_DIR: ${{github.workspace}}/moose | ||
run: | | ||
git clone https://github.com/idaholab/moose.git $MOOSE_DIR | ||
cd $MOOSE_DIR/scripts | ||
export MOOSE_JOBS=2 | ||
./update_and_rebuild_petsc.sh | ||
METHOD=${{matrix.btype}} ./update_and_rebuild_libmesh.sh | ||
./update_and_rebuild_wasp.sh | ||
- name: Compile code | ||
env: | ||
MOOSE_DIR: ${{github.workspace}}/moose | ||
run: | | ||
export MOOSE_DIR=$PWD/moose | ||
make -j 2 METHOD=${{ matrix.btype }} | ||
- name: Test code | ||
env: | ||
MOOSE_DIR: ${{github.workspace}}/moose | ||
LD_LIBRARY_PATH: $LD_LIBRARY_PATH:${{github.workspace}}/neml/lib | ||
run: if [[ "${{ matrix.btype }}" == "opt" ]]; then ./run_tests --opt; elif [[ "${{ matrix.btype }}" == "dbg" ]]; then ./run_tests --dbg; fi |
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 |
---|---|---|
|
@@ -19,3 +19,4 @@ build | |
*.csv | ||
*.previous_test_results.json | ||
*~ | ||
*.yaml |
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
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
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
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
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
Submodule neml
updated
58 files
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
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
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
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
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
Oops, something went wrong.