diff options
| author | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
| commit | ffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch) | |
| tree | 1269efa852935b183daae4bb33a58d1b4d2ffb53 /.github/actions/build-linux-payload | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
Diffstat (limited to '.github/actions/build-linux-payload')
| -rw-r--r-- | .github/actions/build-linux-payload/action.yml | 55 |
1 files changed, 48 insertions, 7 deletions
diff --git a/.github/actions/build-linux-payload/action.yml b/.github/actions/build-linux-payload/action.yml index f5ce1e0b..b4bc77f2 100644 --- a/.github/actions/build-linux-payload/action.yml +++ b/.github/actions/build-linux-payload/action.yml @@ -36,11 +36,11 @@ inputs: required: false default: "true" release_channel: - description: "Build release channel: DEVEL, RC, or GA" + description: "Build release channel: DEVEL, BETA, RC, GA, or empty for release-state.txt" required: false - default: "DEVEL" - rc_number: - description: "Release candidate number when release_channel is RC" + default: "" + prerelease_number: + description: "Prerelease number when release_channel is BETA or RC" required: false default: "" allow_stale_image: @@ -57,7 +57,7 @@ runs: WSJTX_VERSION: ${{ inputs.version }} HAMLIB_BRANCH: ${{ inputs.hamlib_branch }} WSJT_RELEASE_CHANNEL: ${{ inputs.release_channel }} - WSJT_RC_NUMBER: ${{ inputs.rc_number }} + WSJT_PRERELEASE_NUMBER: ${{ inputs.prerelease_number }} ARCH: ${{ inputs.arch }} VALIDATE_FORTRAN_FALLBACK: ${{ inputs.validate_fortran_fallback }} run: .github/scripts/validate-ci-inputs.sh @@ -160,7 +160,7 @@ runs: shell: bash env: WSJT_RELEASE_CHANNEL: ${{ inputs.release_channel }} - WSJT_RC_NUMBER: ${{ inputs.rc_number }} + WSJT_PRERELEASE_NUMBER: ${{ inputs.prerelease_number }} run: | cmake -S . -B wsjtx-build \ -DCMAKE_PREFIX_PATH="${{ steps.image.outputs.hamlib_prefix }};/opt/wsjtx/pfunit" \ @@ -171,7 +171,7 @@ runs: -DWSJT_ENABLE_GUI_SMOKE_TESTS=ON \ -DWSJT_FORTRAN_LIBRARY_VARIANTS=OPENMP_ONLY \ -DWSJT_RELEASE_CHANNEL="${WSJT_RELEASE_CHANNEL}" \ - -DWSJT_RC_NUMBER="${WSJT_RC_NUMBER}" \ + -DWSJT_PRERELEASE_NUMBER="${WSJT_PRERELEASE_NUMBER}" \ -DPFUNIT_DIR="${{ steps.image.outputs.pfunit_dir }}" \ -Wno-dev @@ -444,6 +444,47 @@ runs: wsjtx-build/wsprd wsjtx-build/wsjtx + # linuxdeploy.AppImage is the pinned copy the AppImage step downloaded + # and checked. + - name: Package release tarballs + if: inputs.build_packages == 'true' + shell: bash + env: + VERSION: ${{ inputs.version }} + ARCH: ${{ inputs.arch }} + run: | + .github/scripts/package-cli-tools.sh \ + --platform linux \ + --version "$VERSION" \ + --arch "$ARCH" \ + --groups CMake/release-tarballs.txt \ + --source wsjtx-build \ + --linuxdeploy ./linuxdeploy.AppImage \ + --out release-tarballs + + - name: Smoke-test release tarballs + if: inputs.build_packages == 'true' + shell: bash + env: + VERSION: ${{ inputs.version }} + ARCH: ${{ inputs.arch }} + run: | + .github/scripts/smoke-release-tarballs.sh \ + --platform linux \ + --version "$VERSION" \ + --target "linux-$ARCH" \ + --groups CMake/release-tarballs.txt \ + --dir release-tarballs \ + --ldd + + - name: Upload release tarballs + if: inputs.build_packages == 'true' + uses: ./.github/actions/upload-release-tarballs + with: + version: ${{ inputs.version }} + target: linux-${{ inputs.arch }} + directory: release-tarballs + - name: Report suppressed ccache save if: inputs.save_ccache == 'true' && steps.image.outputs.recipe_match != 'true' shell: bash |
