5959 name : wsjtx-patched-code
6060 path : unpack/wsjtx-patched-2.5.4.tgz
6161
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
88+
89+ build_rpi64 :
90+ needs : ['patch_source']
91+ runs-on : ARM64
92+ steps :
93+ - name : Get source code
94+ uses : actions/checkout@v2
95+
96+ - name : Download artifacts
97+ uses : actions/download-artifact@v2
98+ with :
99+ name : wsjtx-patched-code
100+
101+ - name : Prepare environment
102+ run : tar -xzvf wsjtx-patched-2.5.4.tgz && mkdir build
103+
104+ - name : Prepare Makefile
105+ run : cd build && cmake -DWSJT_SKIP_MANPAGES=ON -DWSJT_GENERATE_DOCS=OFF ../wsjtx-2.5.4
106+
107+ - name : Compile binaray and create package
108+ run : cd build && cmake --build . --target package -- -j3
109+
110+ - name : Upload new patched archive
111+ uses : actions/upload-artifact@v2
112+ with :
113+ name : wsjtx-rpi64-package
114+ path : build/wsjtx-prefix/src/wsjtx-build/wsjtx_2.5.4_arm64.deb
62115
63116 build_focal :
64117 needs : ['patch_source']
@@ -108,9 +161,8 @@ jobs:
108161 name : wsjtx-jammy-package
109162 path : wsjtx_2.5.4_jammy_amd64.deb
110163
111-
112164 release_draft :
113- needs : ['build_focal' , 'build_jammy']
165+ needs : ['build_focal' , 'build_jammy' , 'build_rpi32' , 'build_rpi64' ]
114166 runs-on : ubuntu-latest
115167 steps :
116168 - name : Download artifacts
@@ -149,6 +201,26 @@ jobs:
149201 asset_name : wsjtx_2.5.4_jammy_amd64.deb
150202 asset_content_type : application/gzip
151203
204+ - name : upload rpi32 artifact
205+ uses : actions/upload-release-asset@v1
206+ env :
207+ GITHUB_TOKEN : ${{ github.token }}
208+ with :
209+ upload_url : ${{ steps.create_release_draft.outputs.upload_url }}
210+ asset_path : wsjtx-rpi32-package/wsjtx_2.5.4_armhf.deb
211+ asset_name : wsjtx_2.5.4_armhf.deb
212+ asset_content_type : application/gzip
213+
214+ - name : upload rpi64 artifact
215+ uses : actions/upload-release-asset@v1
216+ env :
217+ GITHUB_TOKEN : ${{ github.token }}
218+ with :
219+ upload_url : ${{ steps.create_release_draft.outputs.upload_url }}
220+ asset_path : wsjtx-rpi64-package/wsjtx_2.5.4_arm64.deb
221+ asset_name : wsjtx_2.5.4_arm64.deb
222+ asset_content_type : application/gzip
223+
152224 - name : upload patched source code
153225 uses : actions/upload-release-asset@v1
154226 env :
@@ -159,7 +231,6 @@ jobs:
159231 asset_name : wsjtx-patched-2.5.4.tgz
160232 asset_content_type : application/gzip
161233
162-
163234 clean_artifacts :
164235 needs : ['release_draft']
165236 runs-on : ubuntu-latest
@@ -172,3 +243,5 @@ jobs:
172243 wsjtx-source-code
173244 wsjtx-focal-package
174245 wsjtx-jammy-package
246+ wsjtx-rpi32-package
247+ wsjtx-rpi64-package
0 commit comments