Skip to content

correct checkout of external repos #2

correct checkout of external repos

correct checkout of external repos #2

Workflow file for this run

name: Linux GCC
on: [push, pull_request]
#concurrency:
# group: ${{ github.ref }}-${{ github.head_ref }}-linux-gcc
# cancel-in-progress: true
jobs:
library:
name: [email protected] C++17 Release
runs-on: ubuntu-20.04
# env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual"}
steps:
- name: checkout ERF
uses: actions/checkout@v3
with:
repository: [email protected]:mukul1992/ERF.git
ref: preserve-amrw-coupling
path: ERF
- name: checkout amr-wind
uses: actions/checkout@v3
with:
repository: [email protected]:mukul1992/amr-wind.git
ref: new-erf-coupling
path: amr-wind
- name: Install Dependencies
run: ${{github.workspace}}/ERF/Submodules/AMReX/.github/workflows/dependencies/dependencies.sh
- name: Configure Project and Generate Build System
run: |
cmake \
-B${{runner.workspace}}/erf-amrwind-driver/build \
-DCMAKE_INSTALL_PREFIX:PATH=${{runner.workspace}}/erf-amrwind-driver/install \
-DCMAKE_CXX_COMPILER:STRING=mpicxx \
-DCMAKE_C_COMPILER:STRING=mpicc \
-DCMAKE_Fortran_COMPILER:STRING=mpifort \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DAMRWIND_HOME:STRING=${{github.workspace}}/amr-wind \
-DERF_HOME:STRING=${{github.workspace}}/ERF \
-DERF_DIM:STRING=3 \
-DERF_ENABLE_MPI:BOOL=ON \
-DERF_ENABLE_TESTS:BOOL=OFF \
-DERF_ENABLE_FCOMPARE:BOOL=ON \
-DERF_ENABLE_DOCUMENTATION:BOOL=OFF \
-DERF_ENABLE_MULTIBLOCK:BOOL=ON \
${{github.workspace}};
- name: Compile and Link
run: |
cd ${{runner.workspace}}/erf-amrwind-driver/build
make -j 8
# cmake --build ${{runner.workspace}}/ERF/build --parallel 2 --verbose