@@ -11,19 +11,22 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Downlaod source code
14
- run : wget https://physics.princeton.edu/pulsar/k1jt/ wsjtx-2.5.4 .tgz
14
+ run : wget https://wsjt.sourceforge.io/downloads/ wsjtx-2.6.1 .tgz
15
15
16
16
- name : Save WSJTX for next jobs
17
17
uses : actions/upload-artifact@v2
18
18
with :
19
19
name : wsjtx-source-code
20
- path : wsjtx-2.5.4.tgz
21
-
20
+ path : wsjtx-2.6.1.tgz
22
21
23
22
patch_source :
24
23
needs : ['download_wsjtx']
25
24
runs-on : ubuntu-latest
26
25
steps :
26
+ - name : cleanup # https://github.com/actions/checkout/issues/211
27
+ run : |
28
+ sudo chown -R $USER:$USER $GITHUB_WORKSPACE
29
+
27
30
- name : Get source code
28
31
uses : actions/checkout@v2
29
32
@@ -33,10 +36,10 @@ jobs:
33
36
name : wsjtx-source-code
34
37
35
38
- name : Unpack the source
36
- run : mkdir unpack && pwd && ls -l && tar -xzvf wsjtx-2.5.4 .tgz -C unpack/
39
+ run : mkdir unpack && pwd && ls -l && tar -xzvf wsjtx-2.6.1 .tgz -C unpack/
37
40
38
41
- name : Prepare source
39
- run : mkdir newsrc && tar -xzvf unpack/wsjtx-2.5.4 /src/wsjtx.tgz -C newsrc/
42
+ run : mkdir newsrc && tar -xzvf unpack/wsjtx-2.6.1 /src/wsjtx.tgz -C newsrc/
40
43
41
44
- name : Patch WSJTX
42
45
run : cp -R patch/* newsrc/wsjtx/
@@ -45,50 +48,23 @@ jobs:
45
48
run : cd newsrc/ && tar -czvf wsjtx.tgz * && cd ..
46
49
47
50
- name : Copy package
48
- run : cp newsrc/wsjtx.tgz unpack/wsjtx-2.5.4 /src/
51
+ run : cp newsrc/wsjtx.tgz unpack/wsjtx-2.6.1 /src/
49
52
50
53
- name : Generate md5sum
51
- run : cd unpack/wsjtx-2.5.4 /src/ && md5sum wsjtx.tgz > wsjtx.tgz.md5sum
54
+ run : cd unpack/wsjtx-2.6.1 /src/ && md5sum wsjtx.tgz > wsjtx.tgz.md5sum
52
55
53
56
- name : Create new archive
54
- run : cd unpack/ && tar -czvf wsjtx-patched-2.5.4 .tgz *
57
+ run : cd unpack/ && tar -czvf wsjtx-patched-2.6.1 .tgz *
55
58
56
59
- name : Upload new patched archive
57
60
uses : actions/upload-artifact@v2
58
61
with :
59
62
name : wsjtx-patched-code
60
- path : unpack/wsjtx-patched-2.5.4.tgz
61
-
62
- build_rpi32 :
63
- needs : ['patch_source']
64
- runs-on : ARM
65
- steps :
66
- - name : Get source code
67
- uses : actions/checkout@v2
68
-
69
- - name : Download artifacts
70
- uses : actions/download-artifact@v2
71
- with :
72
- name : wsjtx-patched-code
73
-
74
- - name : Prepare environment
75
- run : tar -xzvf wsjtx-patched-2.5.4.tgz && mkdir build
76
-
77
- - name : Prepare Makefile
78
- run : cd build && cmake -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF ../wsjtx-2.5.4
79
-
80
- - name : Compile binaray and create package
81
- run : cd build && cmake --build . --target package -- -j3
82
-
83
- - name : Upload new patched archive
84
- uses : actions/upload-artifact@v2
85
- with :
86
- name : wsjtx-rpi32-package
87
- path : build/wsjtx-prefix/src/wsjtx-build/wsjtx_2.5.4_armhf.deb
63
+ path : unpack/wsjtx-patched-2.6.1.tgz
88
64
89
65
build_rpi64 :
90
66
needs : ['patch_source']
91
- runs-on : ARM64
67
+ runs-on : [ self-hosted , Linux , ARM64 ]
92
68
steps :
93
69
- name : Get source code
94
70
uses : actions/checkout@v2
@@ -99,10 +75,10 @@ jobs:
99
75
name : wsjtx-patched-code
100
76
101
77
- name : Prepare environment
102
- run : tar -xzvf wsjtx-patched-2.5.4 .tgz && mkdir build
78
+ run : tar -xzvf wsjtx-patched-2.6.1 .tgz && mkdir build
103
79
104
80
- name : Prepare Makefile
105
- run : cd build && cmake -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF ../wsjtx-2.5.4
81
+ run : cd build && cmake -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF ../wsjtx-2.6.1
106
82
107
83
- name : Compile binaray and create package
108
84
run : cd build && cmake --build . --target package -- -j3
@@ -111,36 +87,16 @@ jobs:
111
87
uses : actions/upload-artifact@v2
112
88
with :
113
89
name : wsjtx-rpi64-package
114
- path : build/wsjtx-prefix/src/wsjtx-build/wsjtx_2.5.4_arm64.deb
115
-
116
- build_focal :
117
- needs : ['patch_source']
118
- runs-on : ubuntu-latest
119
- steps :
120
- - name : Get source code
121
- uses : actions/checkout@v2
122
-
123
- - name : Download artifacts
124
- uses : actions/download-artifact@v2
125
- with :
126
- name : wsjtx-patched-code
127
-
128
- - name : Create Docker Image
129
- run : cd $GITHUB_WORKSPACE/docker/ubuntu_focal && docker build . --tag ubuntu_focal_build
130
-
131
- - name : Run Container
132
- run : docker run -t -v $GITHUB_WORKSPACE:/build -w /build ubuntu_focal_build /build/docker/ubuntu_focal/build.sh
133
-
134
- - name : Upload new patched archive
135
- uses : actions/upload-artifact@v2
136
- with :
137
- name : wsjtx-focal-package
138
- path : wsjtx_2.5.4_focal_amd64.deb
90
+ path : build/wsjtx-prefix/src/wsjtx-build/wsjtx_2.6.1_arm64.deb
139
91
140
92
build_jammy :
141
93
needs : ['patch_source']
142
- runs-on : ubuntu-latest
94
+ runs-on : [ self-hosted , Linux , X64 ]
143
95
steps :
96
+ - name : cleanup # https://github.com/actions/checkout/issues/211
97
+ run : |
98
+ sudo chown -R $USER:$USER $GITHUB_WORKSPACE
99
+
144
100
- name : Get source code
145
101
uses : actions/checkout@v2
146
102
@@ -159,12 +115,16 @@ jobs:
159
115
uses : actions/upload-artifact@v2
160
116
with :
161
117
name : wsjtx-jammy-package
162
- path : wsjtx_2.5.4_jammy_amd64 .deb
118
+ path : wsjtx_2.6.1_jammy_amd64 .deb
163
119
164
- build_buster :
120
+ build_bookworm :
165
121
needs : ['patch_source']
166
- runs-on : ubuntu-latest
122
+ runs-on : [ self-hosted , Linux , X64 ]
167
123
steps :
124
+ - name : cleanup # https://github.com/actions/checkout/issues/211
125
+ run : |
126
+ sudo chown -R $USER:$USER $GITHUB_WORKSPACE
127
+
168
128
- name : Get source code
169
129
uses : actions/checkout@v2
170
130
@@ -174,21 +134,25 @@ jobs:
174
134
name : wsjtx-patched-code
175
135
176
136
- name : Create Docker Image
177
- run : cd $GITHUB_WORKSPACE/docker/debian_buster && docker build . --tag debian_buster_build
137
+ run : cd $GITHUB_WORKSPACE/docker/debian_bookworm && docker build . --tag debian_bookworm_build
178
138
179
139
- name : Run Container
180
- run : docker run -t -v $GITHUB_WORKSPACE:/build -w /build debian_buster_build /build/docker/debian_buster /build.sh
140
+ run : docker run -t -v $GITHUB_WORKSPACE:/build -w /build debian_bookworm_build /build/docker/debian_bookworm /build.sh
181
141
182
142
- name : Upload new patched archive
183
143
uses : actions/upload-artifact@v2
184
144
with :
185
- name : wsjtx-buster -package
186
- path : wsjtx_2.5.4_buster_amd64 .deb
145
+ name : wsjtx-bookworm -package
146
+ path : wsjtx_2.6.1_bookworm_amd64 .deb
187
147
188
- build_bullseye :
148
+ build_fedora39 :
189
149
needs : ['patch_source']
190
- runs-on : ubuntu-latest
150
+ runs-on : [ self-hosted , Linux , X64 ]
191
151
steps :
152
+ - name : cleanup # https://github.com/actions/checkout/issues/211
153
+ run : |
154
+ sudo chown -R $USER:$USER $GITHUB_WORKSPACE
155
+
192
156
- name : Get source code
193
157
uses : actions/checkout@v2
194
158
@@ -198,21 +162,30 @@ jobs:
198
162
name : wsjtx-patched-code
199
163
200
164
- name : Create Docker Image
201
- run : cd $GITHUB_WORKSPACE/docker/debian_bullseye && docker build . --tag debian_bullseye_build
165
+ run : cd $GITHUB_WORKSPACE/docker/fedora_39 && docker build . --tag fedora_39_build
202
166
203
167
- name : Run Container
204
- run : docker run -t -v $GITHUB_WORKSPACE:/build -w /build debian_bullseye_build /build/docker/debian_bullseye /build.sh
168
+ run : docker run -t -v $GITHUB_WORKSPACE:/build -w /build fedora_39_build /build/docker/fedora_39 /build.sh
205
169
206
170
- name : Upload new patched archive
207
171
uses : actions/upload-artifact@v2
208
172
with :
209
- name : wsjtx-bullseye -package
210
- path : wsjtx_2.5.4_bullseye_amd64.deb
173
+ name : wsjtx-fedora39 -package
174
+ path : wsjtx-2.6.1.fc39.x86_64.rpm
211
175
212
- build_fedora36 :
176
+ build_windows :
213
177
needs : ['patch_source']
214
- runs-on : ubuntu-latest
178
+ runs-on : [ self-hosted , Windows , X64 ]
215
179
steps :
180
+ - name : Update execution policy
181
+ shell : cmd
182
+ run : powershell -Command "Set-ExecutionPolicy RemoteSigned -Scope CurrentUser"
183
+
184
+ - name : Clear old builds outside workspace
185
+ run : |
186
+ if (Test-Path -Path "C:\JTSDK64-Tools\tmp\wsjtx-output\") { rm C:\JTSDK64-Tools\tmp\wsjtx-output\ -r }
187
+ if (Test-Path -Path "C:\JTSDK64-Tools\tmp\wsjtx\") { rm C:\JTSDK64-Tools\tmp\wsjtx\ -r }
188
+
216
189
- name : Get source code
217
190
uses : actions/checkout@v2
218
191
@@ -221,20 +194,27 @@ jobs:
221
194
with :
222
195
name : wsjtx-patched-code
223
196
224
- - name : Create Docker Image
225
- run : cd $GITHUB_WORKSPACE/docker/fedora_36 && docker build . --tag fedora_36_build
197
+ - name : Unpack and prepare to compile
198
+ run : |
199
+ tar -xzvf .\wsjtx-patched-2.6.1.tgz
200
+ tar -xzvf .\wsjtx-2.6.1\src\wsjtx.tgz -C C:\JTSDK64-Tools\tmp\
226
201
227
- - name : Run Container
228
- run : docker run -t -v $GITHUB_WORKSPACE:/build -w /build fedora_36_build /build/docker/fedora_36/build.sh
202
+ - name : Check workspace
203
+ run : dir C:\JTSDK64-Tools\tmp\
229
204
230
- - name : Upload new patched archive
205
+ - name : Check for JTSDK
206
+ run : |
207
+ cd c:\JTSDK64-Tools
208
+ powershell -ExecutionPolicy Bypass -File .\jtsdk64_test.ps1
209
+
210
+ - name : Upload Windows package
231
211
uses : actions/upload-artifact@v2
232
212
with :
233
- name : wsjtx-fedora36 -package
234
- path : wsjtx-2.5.4.fc36.x86_64.rpm
213
+ name : wsjtx-windows -package
214
+ path : C:\JTSDK64-Tools\tmp\ wsjtx-output\qt\5.15.2\2.6.1\Release\package\wsjtx-2.6.1-win64.exe
235
215
236
216
release_draft :
237
- needs : ['build_focal' , ' build_jammy' , 'build_rpi32' , ' build_rpi64' , 'build_buster ' , 'build_bullseye ' , 'build_fedora36' ]
217
+ needs : ['build_jammy' , 'build_rpi64' , 'build_bookworm ' , 'build_fedora39 ' , 'build_windows' ]
238
218
runs-on : ubuntu-latest
239
219
steps :
240
220
- name : Download artifacts
@@ -253,84 +233,64 @@ jobs:
253
233
env :
254
234
GITHUB_TOKEN : ${{ github.token }}
255
235
256
- - name : upload focal artifact
257
- uses : actions/upload-release-asset@v1
258
- env :
259
- GITHUB_TOKEN : ${{ github.token }}
260
- with :
261
- upload_url : ${{ steps.create_release_draft.outputs.upload_url }}
262
- asset_path : wsjtx-focal-package/wsjtx_2.5.4_focal_amd64.deb
263
- asset_name : wsjtx_2.5.4_focal_amd64.deb
264
- asset_content_type : application/gzip
265
-
266
236
- name : upload jammy artifact
267
237
uses : actions/upload-release-asset@v1
268
238
env :
269
239
GITHUB_TOKEN : ${{ github.token }}
270
240
with :
271
241
upload_url : ${{ steps.create_release_draft.outputs.upload_url }}
272
- asset_path : wsjtx-jammy-package/wsjtx_2.5.4_jammy_amd64.deb
273
- asset_name : wsjtx_2.5.4_jammy_amd64.deb
274
- asset_content_type : application/gzip
275
-
276
- - name : upload buster artifact
277
- uses : actions/upload-release-asset@v1
278
- env :
279
- GITHUB_TOKEN : ${{ github.token }}
280
- with :
281
- upload_url : ${{ steps.create_release_draft.outputs.upload_url }}
282
- asset_path : wsjtx-buster-package/wsjtx_2.5.4_buster_amd64.deb
283
- asset_name : wsjtx_2.5.4_buster_amd64.deb
242
+ asset_path : wsjtx-jammy-package/wsjtx_2.6.1_jammy_amd64.deb
243
+ asset_name : wsjtx_2.6.1_jammy_amd64.deb
284
244
asset_content_type : application/gzip
285
245
286
- - name : upload bullseye artifact
246
+ - name : upload bookworm artifact
287
247
uses : actions/upload-release-asset@v1
288
248
env :
289
249
GITHUB_TOKEN : ${{ github.token }}
290
250
with :
291
251
upload_url : ${{ steps.create_release_draft.outputs.upload_url }}
292
- asset_path : wsjtx-bullseye -package/wsjtx_2.5.4_bullseye_amd64 .deb
293
- asset_name : wsjtx_2.5.4_bullseye_amd64 .deb
252
+ asset_path : wsjtx-bookworm -package/wsjtx_2.6.1_bookworm_amd64 .deb
253
+ asset_name : wsjtx_2.6.1_bookworm_amd64 .deb
294
254
asset_content_type : application/gzip
295
255
296
- - name : upload fedora36 artifact
256
+ - name : upload fedora39 artifact
297
257
uses : actions/upload-release-asset@v1
298
258
env :
299
259
GITHUB_TOKEN : ${{ github.token }}
300
260
with :
301
261
upload_url : ${{ steps.create_release_draft.outputs.upload_url }}
302
- asset_path : wsjtx-fedora36 -package/wsjtx-2.5.4.fc36 .x86_64.rpm
303
- asset_name : wsjtx-2.5.4.fc36 .x86_64.rpm
262
+ asset_path : wsjtx-fedora39 -package/wsjtx-2.6.1.fc39 .x86_64.rpm
263
+ asset_name : wsjtx-2.6.1.fc39 .x86_64.rpm
304
264
asset_content_type : application/gzip
305
265
306
- - name : upload rpi32 artifact
266
+ - name : upload rpi64 artifact
307
267
uses : actions/upload-release-asset@v1
308
268
env :
309
269
GITHUB_TOKEN : ${{ github.token }}
310
270
with :
311
271
upload_url : ${{ steps.create_release_draft.outputs.upload_url }}
312
- asset_path : wsjtx-rpi32 -package/wsjtx_2.5.4_armhf .deb
313
- asset_name : wsjtx_2.5.4_armhf .deb
272
+ asset_path : wsjtx-rpi64 -package/wsjtx_2.6.1_arm64 .deb
273
+ asset_name : wsjtx_2.6.1_arm64 .deb
314
274
asset_content_type : application/gzip
315
275
316
- - name : upload rpi64 artifact
276
+ - name : upload windows build
317
277
uses : actions/upload-release-asset@v1
318
278
env :
319
279
GITHUB_TOKEN : ${{ github.token }}
320
280
with :
321
281
upload_url : ${{ steps.create_release_draft.outputs.upload_url }}
322
- asset_path : wsjtx-rpi64 -package/wsjtx_2.5.4_arm64.deb
323
- asset_name : wsjtx_2.5.4_arm64.deb
324
- asset_content_type : application/gzip
282
+ asset_path : wsjtx-windows -package/wsjtx-2.6.1-win64.exe
283
+ asset_name : wsjtx-2.6.1-win64.exe
284
+ asset_content_type : application/octet-stream
325
285
326
286
- name : upload patched source code
327
287
uses : actions/upload-release-asset@v1
328
288
env :
329
289
GITHUB_TOKEN : ${{ github.token }}
330
290
with :
331
291
upload_url : ${{ steps.create_release_draft.outputs.upload_url }}
332
- asset_path : wsjtx-patched-code/wsjtx-patched-2.5.4 .tgz
333
- asset_name : wsjtx-patched-2.5.4 .tgz
292
+ asset_path : wsjtx-patched-code/wsjtx-patched-2.6.1 .tgz
293
+ asset_name : wsjtx-patched-2.6.1 .tgz
334
294
asset_content_type : application/gzip
335
295
336
296
clean_artifacts :
@@ -343,10 +303,8 @@ jobs:
343
303
name : |
344
304
wsjtx-patched-code
345
305
wsjtx-source-code
346
- wsjtx-focal-package
347
306
wsjtx-jammy-package
348
- wsjtx-buster-package
349
- wsjtx-bullseye-package
350
- wsjtx-fedora36-package
351
- wsjtx-rpi32-package
307
+ wsjtx-bookworm-package
308
+ wsjtx-fedora39-package
352
309
wsjtx-rpi64-package
310
+ wsjtx-windows-package
0 commit comments