|
16 | 16 | linux-armv7hf: |
17 | 17 | runs-on: [self-hosted, linux, x64] |
18 | 18 | env: |
19 | | - arch: arm |
| 19 | + arch: arm |
20 | 20 | linux_cpu: arm --arm-float-abi hard |
21 | 21 | target_triple: armv7-unknown-linux-gnueabihf |
22 | 22 | target_sysroot: debian_sid_arm-sysroot |
@@ -91,15 +91,16 @@ jobs: |
91 | 91 | with: |
92 | 92 | name: engine-sdk-debug |
93 | 93 | path: | |
94 | | - $tag_debug.tar.gz |
95 | | - $tag_debug.tar.gz.sha256 |
| 94 | + linux-engine-sdk-debug-armv7hf-${{ inputs.srcrev }}.tar.gz |
| 95 | + linux-engine-sdk-debug-armv7hf-${{ inputs.srcrev }}.tar.gz.sha256 |
96 | 96 |
|
97 | 97 | - name: Release - Debug Release |
98 | 98 | if: ${{ inputs.release == 'true' }} |
99 | 99 | env: |
100 | 100 | GH_TOKEN: ${{ github.token }} |
101 | 101 | GH_REPO: ${{ github.repository }} |
102 | 102 | run: | |
| 103 | + gh release delete "$tag_debug" --cleanup-tag -y |true |
103 | 104 | gh release create --draft "$tag_debug" --title "$tag_debug" --notes "$notes_debug" |
104 | 105 | gh release upload "$tag_debug" "$tag_debug.tar.gz" "$tag_debug.tar.gz.sha256" |
105 | 106 | gh release edit "$tag_debug" --draft=false |
@@ -131,35 +132,25 @@ jobs: |
131 | 132 | scripts/prepare-sdk-armv7hf.sh src/out/linux_debug_unopt_$arch $PWD/src/build/linux/$target_sysroot |
132 | 133 |
|
133 | 134 | tar czfhv $tag_debug_unopt.tar.gz src/out/linux_debug_unopt_$arch/engine-sdk/ |
134 | | - tar czfhv $tag_debug_unopt-symbols.tar.gz src/out/linux_debug_unopt_$arch/.debug/ |
135 | 135 |
|
136 | 136 | sha256sum -b $tag_debug_unopt.tar.gz > $tag_debug_unopt.tar.gz.sha256 |
137 | | - sha256sum -b $tag_debug_unopt-symbols.tar.gz > $tag_debug_unopt-symbols.tar.gz.sha256 |
138 | 137 |
|
139 | 138 | - name: Publish Debug Unoptimized |
140 | 139 | if: ${{ inputs.release != 'true' }} |
141 | 140 | uses: actions/upload-artifact@v4 |
142 | 141 | with: |
143 | 142 | name: engine-sdk-debug-unoptimized |
144 | 143 | path: | |
145 | | - $tag_debug_unopt.tar.gz |
146 | | - $tag_debug_unopt.tar.gz.sha256 |
147 | | -
|
148 | | - - name: Publish Debug Unoptimized Symbols |
149 | | - if: ${{ inputs.release != 'true' }} |
150 | | - uses: actions/upload-artifact@v4 |
151 | | - with: |
152 | | - name: engine-sdk-debug-unoptimized-symbols |
153 | | - path: | |
154 | | - $tag_debug_unopt-symbols.tar.gz |
155 | | - $tag_debug_unopt-symbols.tar.gz.sha256 |
| 144 | + linux-engine-sdk-debug-unopt-armv7hf-${{ inputs.srcrev }}.tar.gz |
| 145 | + linux-engine-sdk-debug-unopt-armv7hf-${{ inputs.srcrev }}.tar.gz.sha256 |
156 | 146 |
|
157 | 147 | - name: Release - Debug Unoptimized Release |
158 | 148 | if: ${{ inputs.release == 'true' }} |
159 | 149 | env: |
160 | 150 | GH_TOKEN: ${{ github.token }} |
161 | 151 | GH_REPO: ${{ github.repository }} |
162 | 152 | run: | |
| 153 | + gh release delete "$tag_debug_unopt" --cleanup-tag -y |true |
163 | 154 | gh release create --draft "$tag_debug_unopt" --title "$tag_debug_unopt" --notes "$notes_debug_unopt" |
164 | 155 | gh release upload "$tag_debug_unopt" "$tag_debug_unopt.tar.gz" "$tag_debug_unopt.tar.gz.sha256" |
165 | 156 | gh release edit "$tag_debug_unopt" --draft=false |
@@ -200,15 +191,16 @@ jobs: |
200 | 191 | with: |
201 | 192 | name: engine-sdk-release |
202 | 193 | path: | |
203 | | - $tag_release.tar.gz |
204 | | - $tag_release.tar.gz.sha256 |
| 194 | + linux-engine-sdk-release-armv7hf-${{ inputs.srcrev }}.tar.gz |
| 195 | + linux-engine-sdk-release-armv7hf-${{ inputs.srcrev }}.tar.gz.sha256 |
205 | 196 |
|
206 | 197 | - name: Release - Publish Release |
207 | 198 | if: ${{ inputs.release == 'true' }} |
208 | 199 | env: |
209 | 200 | GH_TOKEN: ${{ github.token }} |
210 | 201 | GH_REPO: ${{ github.repository }} |
211 | 202 | run: | |
| 203 | + gh release delete "$tag_release" --cleanup-tag -y |true |
212 | 204 | gh release create --draft "$tag_release" --title "$tag_release" --notes "$notes_release" |
213 | 205 | gh release upload "$tag_release" "$tag_release.tar.gz" "$tag_release.tar.gz.sha256" |
214 | 206 | gh release edit "$tag_release" --draft=false |
@@ -248,15 +240,16 @@ jobs: |
248 | 240 | with: |
249 | 241 | name: engine-sdk-profile |
250 | 242 | path: | |
251 | | - $tag_profile.tar.gz |
252 | | - $tag_profile.tar.gz.sha256 |
| 243 | + linux-engine-sdk-profile-armv7hf-${{ inputs.srcrev }}.tar.gz |
| 244 | + linux-engine-sdk-profile-armv7hf-${{ inputs.srcrev }}.tar.gz.sha256 |
253 | 245 |
|
254 | 246 | - name: Release - Publish Profile |
255 | 247 | if: ${{ inputs.release == 'true' }} |
256 | 248 | env: |
257 | 249 | GH_TOKEN: ${{ github.token }} |
258 | 250 | GH_REPO: ${{ github.repository }} |
259 | 251 | run: | |
| 252 | + gh release delete "$tag_profile" --cleanup-tag -y |true |
260 | 253 | gh release create --draft "$tag_profile" --title "$tag_profile" --notes "$notes_profile" |
261 | 254 | gh release upload "$tag_profile" "$tag_profile.tar.gz" "$tag_profile.tar.gz.sha256" |
262 | 255 | gh release edit "$tag_profile" --draft=false |
|
0 commit comments