Pin to Ubuntu 18.04, because the new 20.04 results in this error on my

18.04 system:

/lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found

I'm probably not the only one on an older Ubuntu, and from the last time
I went through this dance, I remember newer systems being able to handle
binaries built on older, but not vice versa.

actionsvirtual-environments#1816
This commit is contained in:
Dustin Carlino 2021-03-08 08:30:14 -08:00
parent ead636549c
commit 57086cf073
2 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ jobs:
build: [linux, macos, windows] build: [linux, macos, windows]
include: include:
- build: linux - build: linux
os: ubuntu-latest os: ubuntu-18.04
- build: macos - build: macos
os: macos-latest os: macos-latest
- build: windows - build: windows
@ -39,7 +39,7 @@ jobs:
run: if [[ `git log -1 --pretty=format:"%s"` == *"[release]"* ]]; then echo 'features=--features=map_gui/release_s3' >> $GITHUB_ENV; else echo 'features=' >> $GITHUB_ENV; fi run: if [[ `git log -1 --pretty=format:"%s"` == *"[release]"* ]]; then echo 'features=--features=map_gui/release_s3' >> $GITHUB_ENV; else echo 'features=' >> $GITHUB_ENV; fi
- name: Install dependencies - name: Install dependencies
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-18.04'
run: sudo apt-get install libasound2-dev run: sudo apt-get install libasound2-dev
- name: Build game - name: Build game
@ -71,7 +71,7 @@ jobs:
shell: bash shell: bash
- name: Upload release for Linux - name: Upload release for Linux
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-18.04'
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: abst_linux name: abst_linux

View File

@ -5,7 +5,7 @@ set -e;
os=$1; os=$1;
case $os in case $os in
ubuntu-latest) ubuntu-18.04)
output="abst_linux"; output="abst_linux";
suffix=""; suffix="";
runner="play_abstreet.sh"; runner="play_abstreet.sh";