Skip to content

Commit

Permalink
ci: Build shared libraries on all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
dr8co committed Apr 30, 2024
1 parent 3d61e75 commit 33cad8f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/cpack-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ jobs:
fi
- name: Configure CMake
if: matrix.os != 'windows-latest'
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
Expand All @@ -77,17 +76,6 @@ jobs:
-G ${{ steps.set-generator.outputs.generator }}
-DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF
# Build static libraries on Windows
- name: Configure CMake
if: matrix.os == 'windows-latest'
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=Release -S ${{ github.workspace }}
-G ${{ steps.set-generator.outputs.generator }}
-DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF
- name: Build Shared Libraries
run: |
cmake --build ${{ steps.strings.outputs.build-output-dir }} --config Release -j 4
Expand Down

0 comments on commit 33cad8f

Please sign in to comment.