Skip to content

Commit 42ae603

Browse files
Ban3bovine3dom
authored andcommitted
Try to link builds statically
1 parent b92615f commit 42ae603

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/compile.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ jobs:
4040
4141
- run: |
4242
sudo apt-get install gcc-arm-linux-gnueabihf
43-
nimble build -d:debug -Y --cpu:arm -l:static
43+
nimble build -d:debug -Y --cpu:arm --passL:-static
4444
mv native_main native_main-armhf
4545
file native_main-armhf
4646
name: armhf build
4747
if: runner.os == 'Linux'
4848
4949
- run: |
5050
sudo apt-get install gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu
51-
nimble build -d:debug -Y --cpu:arm64 -l:static
51+
nimble build -d:debug -Y --cpu:arm64 --passL:-static
5252
mv native_main native_main-arm64
5353
file native_main-arm64
5454
name: arm64 build
@@ -57,7 +57,7 @@ jobs:
5757
- run: nimble build -d:debug -Y --verbose
5858
if: runner.os != 'Linux'
5959

60-
- run: nimble build -d:debug --verbose -l:static
60+
- run: nimble build -d:debug --verbose --passL:-static
6161
if: runner.os == 'Linux'
6262

6363
- run: |

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ jobs:
6666
6767
- run: |
6868
sudo apt-get install gcc-arm-linux-gnueabihf
69-
nimble build -d:release -d:danger --opt:speed -Y --cpu:arm -l:static
69+
nimble build -d:release -d:danger --opt:speed -Y --cpu:arm --passL:-static
7070
mv native_main native_main-armhf
7171
file native_main-armhf
7272
name: armhf build
7373
if: runner.os == 'Linux'
7474
7575
- run: |
7676
sudo apt-get install gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu
77-
nimble build -d:release -d:danger --opt:speed -Y --cpu:arm64 -l:static
77+
nimble build -d:release -d:danger --opt:speed -Y --cpu:arm64 --passL:-static
7878
mv native_main native_main-arm64
7979
file native_main-arm64
8080
name: arm64 build
@@ -83,7 +83,7 @@ jobs:
8383
- run: nimble build -d:danger -d:release --opt:speed -Y --verbose
8484
if: runner.os != 'Linux'
8585

86-
- run: nimble build -d:danger -d:release --opt:speed -Y --verbose -l:static
86+
- run: nimble build -d:danger -d:release --opt:speed -Y --verbose --passL:-static
8787
if: runner.os == 'Linux'
8888

8989
- run: |

0 commit comments

Comments
 (0)