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)
(cherry picked from commit 527797921c)
mr13.5.1
Richard Fuchs 3 months ago
parent d1da6b6a76
commit 0913f92412

@ -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