.github: run regression tests as part of release workflow

Add an x86_64 regression test job to release.yml that runs after the
build and gates publishing — the release job now requires both build
and test to succeed.

Update test.yml's artifact restore step to use a glob so it handles
both the unversioned CI artifact name (infix-x86_64.tar.gz) and the
versioned release artifact name (infix-x86_64-26.04.0.tar.gz).

Fixes #1392

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2026-04-30 13:45:35 +02:00
parent a3c6ec0cd5
commit e49682645c
2 changed files with 12 additions and 4 deletions
+8 -1
View File
@@ -40,9 +40,16 @@ jobs:
version: ${{ needs.set-version.outputs.version }}
use_cache: true
test:
needs: build
uses: ./.github/workflows/test.yml
with:
target: x86_64
name: infix
release:
name: Release Infix ${{ github.ref_name }}
needs: build
needs: [build, test]
runs-on: [self-hosted, release]
permissions:
contents: write
+4 -3
View File
@@ -105,10 +105,11 @@ jobs:
ls -l
mkdir -p output
mv ${name}-${target}.tar.gz output/
tarfile=$(ls ${name}-${target}*.tar.gz | head -1)
mv "$tarfile" output/
cd output/
tar xf ${name}-${target}.tar.gz
ln -s ${name}-${target} images
tar xf "$tarfile"
ln -s "${tarfile%.tar.gz}" images
- name: Regression Test ${{ env.TARGET }}
run: |