Skip to content

Commit

Permalink
releases: don't add static library to MinGW binary release
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Oct 16, 2024
1 parent 2eb1201 commit 94d8471
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ jobs:
cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
-DCMAKE_BUILD_TYPE="Release" \
-DTEST_SHARED=TRUE \
-DTEST_STATIC=TRUE \
-DTEST_STATIC=FALSE \
-DCMAKE_PREFIX_PATH="/tmp/deps-mingw" \
-DCMAKE_TOOLCHAIN_FILE="${{ steps.src.outputs.path }}/build-scripts/cmake-toolchain-mingw64-i686.cmake" \
-Werror=dev \
Expand All @@ -601,7 +601,7 @@ jobs:
cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
-DCMAKE_BUILD_TYPE="Release" \
-DTEST_SHARED=TRUE \
-DTEST_STATIC=TRUE \
-DTEST_STATIC=FALSE \
-DCMAKE_PREFIX_PATH="/tmp/deps-mingw" \
-DCMAKE_TOOLCHAIN_FILE="${{ steps.src.outputs.path }}/build-scripts/cmake-toolchain-mingw64-x86_64.cmake" \
-Werror=dev \
Expand Down
3 changes: 2 additions & 1 deletion build-scripts/release-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"cmake": {
"archs": ["x86", "x64"],
"args": [
"-DBUILD_SHARED_LIBS=ON",
"-DSDLIMAGE_AVIF=OFF",
"-DSDLIMAGE_BMP=ON",
"-DSDLIMAGE_GIF=ON",
Expand All @@ -56,7 +57,7 @@
"-DSDLIMAGE_TESTS=OFF",
"-DSDLIMAGE_VENDORED=OFF"
],
"shared-static": "both"
"shared-static": "args"
},
"files": {
"": [
Expand Down

0 comments on commit 94d8471

Please sign in to comment.