@@ -23,15 +23,16 @@ jobs:
23
23
cd ..
24
24
cmake --build build --target qjs_exe -j$(getconf _NPROCESSORS_ONLN)
25
25
mv build/qjs build/qjs-linux-x86
26
+ mv build/qjsc build/qjsc-linux-x86
26
27
- name : check
27
28
shell : alpine.sh {0}
28
29
run : |
29
- file build/qjs-linux-x86
30
+ file build/qjs-linux-x86 build/qjsc-linux-x86
30
31
- name : upload
31
32
uses : actions/upload-artifact@v3
32
33
with :
33
34
name : qjs
34
- path : build/qjs -linux-x86
35
+ path : build/* -linux-x86
35
36
36
37
linux-x86_64 :
37
38
runs-on : ubuntu-latest
@@ -50,15 +51,16 @@ jobs:
50
51
cd ..
51
52
cmake --build build --target qjs_exe -j$(getconf _NPROCESSORS_ONLN)
52
53
mv build/qjs build/qjs-linux-x86_64
54
+ mv build/qjsc build/qjsc-linux-x86_64
53
55
- name : check
54
56
shell : alpine.sh {0}
55
57
run : |
56
- file build/qjs-linux-x86_64
58
+ file build/qjs-linux-x86_64 build/qjsc-linux-x86_64
57
59
- name : upload
58
60
uses : actions/upload-artifact@v3
59
61
with :
60
62
name : qjs
61
- path : build/qjs -linux-x86_64
63
+ path : build/* -linux-x86_64
62
64
63
65
macos :
64
66
runs-on : macos-latest
@@ -71,14 +73,15 @@ jobs:
71
73
cmake -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" ..
72
74
make -j$(getconf _NPROCESSORS_ONLN)
73
75
mv qjs qjs-darwin
76
+ mv qjsc qjsc-darwin
74
77
- name : check
75
78
run : |
76
- lipo -info build/qjs-darwin
79
+ lipo -info build/qjs-darwin build/qjsc-darwin
77
80
- name : upload
78
81
uses : actions/upload-artifact@v3
79
82
with :
80
83
name : qjs
81
- path : build/qjs -darwin
84
+ path : build/* -darwin
82
85
83
86
windows-x86 :
84
87
runs-on : windows-latest
@@ -102,14 +105,15 @@ jobs:
102
105
run : |
103
106
make
104
107
mv build/qjs.exe build/qjs-windows-x86.exe
108
+ mv build/qjsc.exe build/qjsc-windows-x86.exe
105
109
- name : check
106
110
run : |
107
- ldd build/qjs-windows-x86.exe
111
+ ldd build/qjs-windows-x86.exe build/qjsc-windows-x86.exe
108
112
- name : upload
109
113
uses : actions/upload-artifact@v3
110
114
with :
111
115
name : qjs
112
- path : build/qjs -windows-x86.exe
116
+ path : build/* -windows-x86.exe
113
117
114
118
windows-x86_64 :
115
119
runs-on : windows-latest
@@ -133,14 +137,15 @@ jobs:
133
137
run : |
134
138
make
135
139
mv build/qjs.exe build/qjs-windows-x86_64.exe
140
+ mv build/qjsc.exe build/qjsc-windows-x86_64.exe
136
141
- name : check
137
142
run : |
138
- ldd build/qjs-windows-x86_64.exe
143
+ ldd build/qjs-windows-x86_64.exe build/qjsc-windows-x86_64.exe
139
144
- name : upload
140
145
uses : actions/upload-artifact@v3
141
146
with :
142
147
name : qjs
143
- path : build/qjs -windows-x86_64.exe
148
+ path : build/* -windows-x86_64.exe
144
149
145
150
upload-to-release :
146
151
needs : [linux-x86, linux-x86_64, macos, windows-x86, windows-x86_64]
@@ -154,8 +159,5 @@ jobs:
154
159
uses : softprops/action-gh-release@v1
155
160
with :
156
161
files : |
157
- build/qjs/qjs-linux-x86_64
158
- build/qjs/qjs-linux-x86
159
- build/qjs/qjs-windows-x86.exe
160
- build/qjs/qjs-windows-x86_64.exe
161
- build/qjs/qjs-darwin
162
+ build/qjs/qjs-*
163
+ build/qjs/qjsc-*
0 commit comments