MT#55283 update GH build actions

Run the included backports script for distro-specific packaging.

Add distro suffix to the version so that all build artefacts can be
included in the release without collisions.

Include G.729. This is available in both Sid and Trixie.

Change-Id: I7efcf6a115158c5154936494c5c85628e37b21ab
(cherry picked from commit 68c6bf60a8)
mr14.1
Richard Fuchs 3 months ago
parent 3ba97731c6
commit 5cd237f5fd

@ -22,15 +22,25 @@ jobs:
dist: [trixie, sid]
steps:
- uses: actions/checkout@v6
- name: Packaging backports
run: |
set -ex
pushd pkg/deb
./generator.sh
backports/${{ matrix.dist }}
popd
rm -rf debian
mv pkg/deb/${{ matrix.dist }} debian
rm -rf pkg/deb/debian
- name: Update changelog
run: |
set -ex
OLD_VERSION=$(dpkg-parsechangelog -SVersion)
SOURCE=$(dpkg-parsechangelog -SSource)
if [[ "${{ github.ref_type }}" == "tag" ]]; then
VERSION_SUFFIX="+gh"
VERSION_SUFFIX="+gh+${{ matrix.dist }}"
else
VERSION_SUFFIX="+autobuild${GITHUB_RUN_NUMBER}"
VERSION_SUFFIX="+autobuild${GITHUB_RUN_NUMBER}+${{ matrix.dist }}"
fi
cat > debian/changelog <<EOT
${SOURCE} (${OLD_VERSION}${VERSION_SUFFIX}) UNRELEASED; urgency=medium
@ -42,7 +52,6 @@ jobs:
- uses: jtdor/build-deb-action@v1
with:
docker-image: debian:${{ matrix.dist }}
buildpackage-opts: -Ppkg.ngcp-rtpengine.nobcg729
- name: Archive build result
uses: actions/upload-artifact@v6
with:

Loading…
Cancel
Save