From 33cad8f8387de65369f2a5b7e362b4729d589eb0 Mon Sep 17 00:00:00 2001 From: Ian Duncan <76043277+dr8co@users.noreply.github.com> Date: Tue, 30 Apr 2024 03:31:01 +0300 Subject: [PATCH] ci: Build shared libraries on all platforms --- .github/workflows/cpack-multi-platform.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/cpack-multi-platform.yml b/.github/workflows/cpack-multi-platform.yml index 0005545..75d0b85 100644 --- a/.github/workflows/cpack-multi-platform.yml +++ b/.github/workflows/cpack-multi-platform.yml @@ -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 }} @@ -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