This repository has been archived by the owner on Jun 27, 2024. It is now read-only.
Add tolerance control of bottom solve #29
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: Run CI | |
on: [push, pull_request] | |
jobs: | |
serial: | |
name: serial | |
runs-on: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: info | |
run: | | |
g++ -v | |
cmake --version | |
- name: setup | |
run: | | |
cmake -E make_directory ${{runner.workspace}}/build-ci | |
cmake -E make_directory ${{runner.workspace}}/deps | |
- name: dependencies | |
run: | | |
# boost | |
sudo add-apt-repository ppa:mhier/libboost-latest | |
sudo apt-get update | |
sudo apt install libboost1.74 | |
sudo apt install libboost1.74-dev | |
# AMREX | |
git clone https://github.com/AMReX-Codes/amrex.git ${{runner.workspace}}/deps/amrex | |
- name: configure | |
working-directory: ${{runner.workspace}}/build-ci | |
run: | | |
cmake -DCMAKE_BUILD_TYPE=Release \ | |
-DPELERAD_DIM=3 \ | |
-DPELERAD_ENABLE_MPI=OFF \ | |
-DPELERAD_ENABLE_OPENMP=OFF \ | |
-DPELERAD_ENABLE_EB=OFF \ | |
-DPELERAD_ENABLE_LINEARSOLVERS=ON \ | |
-DPELERAD_ENABLE_HYPRE=OFF \ | |
-DPELERAD_ENABLE_TESTS=ON \ | |
-DAMREX_HOME_DIR=${{runner.workspace}}/deps/amrex \ | |
${GITHUB_WORKSPACE} | |
- name: build | |
working-directory: ${{runner.workspace}}/build-ci | |
run: | | |
make -j 8 | |
- name: test | |
working-directory: ${{runner.workspace}}/build-ci | |
run: | | |
ctest --output-on-failure | |
mpi-cpu: | |
name: mpi-cpu | |
runs-on: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: info | |
run: | | |
g++ -v | |
cmake --version | |
- name: setup | |
run: | | |
cmake -E make_directory ${{runner.workspace}}/build-ci | |
cmake -E make_directory ${{runner.workspace}}/deps | |
- name: dependencies | |
run: | | |
# mpi | |
sudo apt-get install -y openmpi-bin libopenmpi-dev | |
# boost | |
sudo add-apt-repository ppa:mhier/libboost-latest | |
sudo apt-get update | |
sudo apt install libboost1.74 | |
sudo apt install libboost1.74-dev | |
# AMREX | |
git clone https://github.com/AMReX-Codes/amrex.git ${{runner.workspace}}/deps/amrex | |
- name: configure | |
working-directory: ${{runner.workspace}}/build-ci | |
run: | | |
cmake -DCMAKE_BUILD_TYPE=Release \ | |
-DPELERAD_DIM=3 \ | |
-DPELERAD_ENABLE_MPI=ON \ | |
-DPELERAD_ENABLE_OPENMP=OFF \ | |
-DPELERAD_ENABLE_EB=OFF \ | |
-DPELERAD_ENABLE_LINEARSOLVERS=ON \ | |
-DPELERAD_ENABLE_HYPRE=OFF \ | |
-DPELERAD_ENABLE_TESTS=ON \ | |
-DAMREX_HOME_DIR=${{runner.workspace}}/deps/amrex \ | |
${GITHUB_WORKSPACE} | |
- name: build | |
working-directory: ${{runner.workspace}}/build-ci | |
run: | | |
make -j 8 | |
- name: test | |
working-directory: ${{runner.workspace}}/build-ci | |
run: | | |
ctest --output-on-failure |