Browse Source

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.
feature/mcv
Daniel Gibbs 1 month ago
parent
commit
964d9640ba
  1. 8
      .github/workflows/details-check-generate-matrix.sh
  2. 2
      .github/workflows/details-check.yml

8
.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)

2
.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) }}

Loading…
Cancel
Save