Skip to content

Commit

Permalink
consistent use of presets
Browse files Browse the repository at this point in the history
  • Loading branch information
greole committed Oct 1, 2024
1 parent 3a86f6a commit f2a1f8a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build-foam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,25 +79,19 @@ jobs:
mkdir -p build
cd build
[ -d "/github/home/$GINKGO_CHECKOUT_VERSION" ] && cp -rp /github/home/$GINKGO_CHECKOUT_VERSION third_party
cmake -GNinja \
-DOGL_ALLOW_REFERENCE_ONLY=On \
-DOGL_BUILD_UNITTEST=ON \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DCMAKE_INSTALL_PREFIX=${{matrix.OF.foam_user_libbin}} ..
cmake -preset develop
- name: Build OGL
working-directory: ${{github.workspace}}/build
run: |
source /root/OpenFOAM/${{matrix.OF.path}}/etc/bashrc
cmake --build . --config $BUILD_TYPE
cmake --build --preset develop
- name: Install OGL
working-directory: ${{github.workspace}}
run: |
source /root/OpenFOAM/${{matrix.OF.path}}/etc/bashrc
cmake --install ./build
ls $FOAM_USER_LIBBIN
ls ${{matrix.OF.foam_user_libbin}}
cmake --install --preset develop
- name: Check folders
Expand Down

0 comments on commit f2a1f8a

Please sign in to comment.