Skip to content

Commit

Permalink
Re-enable commented builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Algiane committed Apr 9, 2024
1 parent 1e6df76 commit a58bb0b
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions .github/workflows/main-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,48 +280,48 @@ jobs:
cmake --build build_shared --config ${{ env.BUILD_TYPE }} -j ${{ env.NJOBS }}
shell: bash

#- name: Test compilation without library linkage
# run: |
# cmake -S. -Bbuild_nolibs \
# ${{ env.C_FLG }} \
# ${{ env.FORT_FLG }} \
# -DCI_CONTEXT=ON \
# -DBUILD_TESTING=ON \
# -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
# -DMMG_PATTERN=${{ matrix.pattern }} \
# -DUSE_SCOTCH=${{ matrix.scotch }} \
# -DSCOTCH_DIR=scotch-install \
# -DUSE_VTK=${{ matrix.vtk }} \
# -DMMG5_INT=${{ matrix.int }} \
# -DLIBMMG_STATIC=OFF \
# -DLIBMMGS_STATIC=OFF \
# -DLIBMMG2D_STATIC=OFF \
# -DLIBMMG3D_STATIC=OFF \
# ${{ inputs.add_cmake_cfg_args }}
# cmake --build build_nolibs --config ${{ env.BUILD_TYPE }} -j ${{ env.NJOBS }}
# shell: bash
#
#- name: Configure Mmg with static libs (default behaviour)
# run: |
# cmake -S. -Bbuild \
# ${{ env.C_FLG }} \
# ${{ env.FORT_FLG }} \
# -DCMAKE_INSTALL_PREFIX=mmg-install \
# -DCI_CONTEXT=ON \
# -DBUILD_TESTING=ON \
# -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
# -DMMG_PATTERN=${{ matrix.pattern }} \
# -DUSE_SCOTCH=${{ matrix.scotch }} \
# -DSCOTCH_DIR=scotch-install \
# -DUSE_VTK=${{ matrix.vtk }} \
# -DMMG5_INT=${{ matrix.int }} \
# -DTEST_LIBMMG=ON \
# -DTEST_LIBMMGS=ON \
# -DTEST_LIBMMG2D=ON \
# -DTEST_LIBMMG3D=ON \
# ${{ inputs.add_cmake_cfg_args }}
# shell: bash
#
- name: Test compilation without library linkage
run: |
cmake -S. -Bbuild_nolibs \
${{ env.C_FLG }} \
${{ env.FORT_FLG }} \
-DCI_CONTEXT=ON \
-DBUILD_TESTING=ON \
-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
-DMMG_PATTERN=${{ matrix.pattern }} \
-DUSE_SCOTCH=${{ matrix.scotch }} \
-DSCOTCH_DIR=scotch-install \
-DUSE_VTK=${{ matrix.vtk }} \
-DMMG5_INT=${{ matrix.int }} \
-DLIBMMG_STATIC=OFF \
-DLIBMMGS_STATIC=OFF \
-DLIBMMG2D_STATIC=OFF \
-DLIBMMG3D_STATIC=OFF \
${{ inputs.add_cmake_cfg_args }}
cmake --build build_nolibs --config ${{ env.BUILD_TYPE }} -j ${{ env.NJOBS }}
shell: bash

- name: Configure Mmg with static libs (default behaviour)
run: |
cmake -S. -Bbuild \
${{ env.C_FLG }} \
${{ env.FORT_FLG }} \
-DCMAKE_INSTALL_PREFIX=mmg-install \
-DCI_CONTEXT=ON \
-DBUILD_TESTING=ON \
-DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \
-DMMG_PATTERN=${{ matrix.pattern }} \
-DUSE_SCOTCH=${{ matrix.scotch }} \
-DSCOTCH_DIR=scotch-install \
-DUSE_VTK=${{ matrix.vtk }} \
-DMMG5_INT=${{ matrix.int }} \
-DTEST_LIBMMG=ON \
-DTEST_LIBMMGS=ON \
-DTEST_LIBMMG2D=ON \
-DTEST_LIBMMG3D=ON \
${{ inputs.add_cmake_cfg_args }}
shell: bash

- name: Build Mmg
run: |
cmake --build build --config ${{ env.BUILD_TYPE }} -j ${{ env.NJOBS }}
Expand Down

0 comments on commit a58bb0b

Please sign in to comment.