Skip to content

Commit e3f031b

Browse files
committed
ci: reduce Windows binary size using -s linker flag
1 parent b51880c commit e3f031b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Configure
2727
shell: msys2 {0}
2828
run: |
29-
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -B build -S .
29+
cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS=-s -B build -S .
3030
3131
- name: Build
3232
shell: msys2 {0}

0 commit comments

Comments
 (0)