File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 27
27
with :
28
28
name : release_zips_win32
29
29
path : " ./*.zip"
30
+ build_linux_amd64 :
31
+ runs-on : ubuntu-20.04
32
+ steps :
33
+ - name : Install musl-gcc
34
+ run : " sudo apt-get install musl-tools"
35
+ - uses : actions/checkout@v3
36
+ with :
37
+ fetch-depth : 0
38
+ - run : make zip CROSS=linux-musl
39
+ - name : Rename ZIPs
40
+ run : |
41
+ mv flexptools.zip "flexptools-linux-amd64-`git describe --tags --always`.zip"
42
+ mv spin2cpp.zip "spin2cpp-linux-amd64-`git describe --tags --always`.zip"
43
+ - uses : actions/upload-artifact@v3
44
+ with :
45
+ name : release_zips_linux_amd64
46
+ path : " ./*.zip"
30
47
test_offline :
31
48
runs-on : ubuntu-20.04
32
49
steps :
Original file line number Diff line number Diff line change @@ -72,6 +72,10 @@ else ifeq ($(OS),Windows_NT)
72
72
CC =gcc
73
73
EXT =.exe
74
74
BUILD =./build
75
+ else ifeq ($(CROSS),linux-musl)
76
+ CC =musl-gcc -static -fno-pie
77
+ EXT =
78
+ BUILD =./build
75
79
else
76
80
CC =gcc
77
81
EXT =
You can’t perform that action at this time.
0 commit comments