From 964d9640ba6419a95c57fc84c7c676054eb880b9 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 24 Apr 2026 20:06:34 +0000 Subject: [PATCH] fix(workflows): use Ubuntu 22.04 for BFV legacy server testing BFV (Battlefield: Vietnam) requires glibc 2.31 or older but Ubuntu 24.04 ships glibc 2.39, causing SteamCMD runtime failures. Update details-check workflow to: - Add runner field to matrix generation - BFV uses ubuntu-22.04 (glibc 2.31 compatible) - Other servers continue on ubuntu-latest (24.04) This ensures BFV tests pass in CI while keeping modern servers on current GitHub Actions runners. --- .github/workflows/details-check-generate-matrix.sh | 8 ++++++++ .github/workflows/details-check.yml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/details-check-generate-matrix.sh b/.github/workflows/details-check-generate-matrix.sh index 2c0803519..c776812aa 100755 --- a/.github/workflows/details-check-generate-matrix.sh +++ b/.github/workflows/details-check-generate-matrix.sh @@ -14,10 +14,18 @@ while read -r line; do export gamename distro=$(echo "$line" | awk -F, '{ print $4 }') export distro + # Legacy servers that require Ubuntu 22.04 or older + if [ "${shortname}" == "bfv" ]; then + runner="ubuntu-22.04" + else + runner="ubuntu-latest" + fi { echo -n "{"; echo -n "\"shortname\":"; echo -n "\"${shortname}\""; + echo -n ",\"runner\":"; + echo -n "\"${runner}\""; echo -n "},"; } >> "shortnamearray.json" done < <(tail -n +2 serverlist.csv) diff --git a/.github/workflows/details-check.yml b/.github/workflows/details-check.yml index aced7522d..c86a6ec70 100644 --- a/.github/workflows/details-check.yml +++ b/.github/workflows/details-check.yml @@ -37,7 +37,7 @@ jobs: if: github.repository_owner == 'GameServerManagers' needs: create-matrix continue-on-error: true - runs-on: ubuntu-latest + runs-on: ${{ matrix.runner }} strategy: matrix: ${{ fromJSON(needs.create-matrix.outputs.matrix) }}