mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-18 03:41:52 +03:00
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:
parent
ead636549c
commit
57086cf073
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user