Skip to content

Commit 30b5655

Browse files
committed
CI: Build bin only for releases
Reduce size by about 20%
1 parent a214bcc commit 30b5655

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/release-binaries.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ jobs:
9191
-DBUILD_TESTING=ON \
9292
-DRUN_SHORT_TESTS=ON \
9393
-DRUN_LONG_TESTS=OFF \
94+
-DANTS_INSTALL_BIN_ONLY=ON \
9495
-DCMAKE_INSTALL_PREFIX:PATH=${{ runner.temp }}/install/ants-${{ env.ANTS_VERSION }} \
9596
${GITHUB_WORKSPACE}
9697
- name: Build

.github/workflows/release-docker-binaries.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ jobs:
127127
-DBUILD_TESTING=ON \
128128
-DRUN_SHORT_TESTS=ON \
129129
-DRUN_LONG_TESTS=OFF \
130+
-DANTS_INSTALL_BIN_ONLY=ON \
130131
-DCMAKE_INSTALL_PREFIX:PATH=/workspace/install/ants-${{ env.ANTS_VERSION }} \
131132
/workspace
132133
"

.github/workflows/release-win-binaries.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
-DBUILD_TESTING=ON `
5252
-DRUN_SHORT_TESTS=ON `
5353
-DRUN_LONG_TESTS=OFF `
54+
-DANTS_INSTALL_BIN_ONLY=ON `
5455
-DCMAKE_INSTALL_PREFIX:PATH=${{ runner.temp }}/install/ants-${{ env.ANTS_VERSION }} `
5556
${{ github.workspace }}
5657
- name: Build

0 commit comments

Comments
 (0)