Skip to content

Commit

Permalink
Update pyfabm actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wathen committed Nov 6, 2023
1 parent 6f6b6d9 commit d173794
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 5 additions & 3 deletions github-actions/pyfabm-ersem/pyfabm-ersem-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ git clone https://github.com/fabm-model/fabm.git
echo "Checking out branch: $BRANCH"
cd ersem && git checkout $BRANCH && cd ..

echo "Moving ERSEM config files for pyFABM"
cp github-actions/pyfabm-ersem/setup.cfg fabm

echo "Building PyFABM-ERSEM"
mkdir build && cd build
cmake ../fabm/src/drivers/python -DFABM_ERSEM_BASE=../ersem
make install
cd fabm
python -m pip install .
4 changes: 4 additions & 0 deletions github-actions/pyfabm-ersem/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[build_ext]
cmake_opts=-DFABM_ERSEM_BASE=../ersem
force=1
debug=1

0 comments on commit d173794

Please sign in to comment.