aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLKedward <laurence.kedward@bristol.ac.uk>2020-11-18 15:59:27 +0000
committerLKedward <laurence.kedward@bristol.ac.uk>2020-11-18 16:04:07 +0000
commite34b4ce8a0e1c49fd286b819e10025e7c918fce1 (patch)
treeb80c645681cba4c2b8e54b3661f34d28b3d3fae9
parent254a08ec19875564cc8149b2713e2e6f34844330 (diff)
downloadfpm-e34b4ce8a0e1c49fd286b819e10025e7c918fce1.tar.gz
fpm-e34b4ce8a0e1c49fd286b819e10025e7c918fce1.zip
Compile release binaries statically
-rw-r--r--.github/workflows/CI.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 22aa6e5..9106fe2 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -122,14 +122,14 @@ jobs:
if: github.event_name == 'release' && (contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos'))
run: |
cd fpm
- fpm run --runner cp -- fpm-${{ matrix.os }}-x86_64-debug
+ fpm run --flag --static --runner cp -- fpm-${{ matrix.os }}-x86_64-debug
- name: Stage file for upload (Windows)
if: github.event_name == 'release' && contains(matrix.os, 'windows')
shell: cmd
run: |
cd fpm
- fpm run --runner copy -- fpm-${{ matrix.os }}-x86_64-debug
+ fpm run --flag --static --runner copy -- fpm-${{ matrix.os }}-x86_64-debug
- name: Upload dev trunk binary release
if: github.event_name == 'release'