diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-02-03 15:45:06 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-03 17:14:28 -0800 |
commit | 3ad1a5c7c77f7aa9e703e1f977c739a0ea1e5a54 (patch) | |
tree | 9bd094636ae2216518ade9498a182ee1f70ae6d7 /.github | |
parent | a686be07f937e7f36088eb5bc0d5a40bee3f6117 (diff) | |
download | subsurface-3ad1a5c7c77f7aa9e703e1f977c739a0ea1e5a54.tar.gz |
GitHub Actions: use the official Ubuntu 18.04 container
Something is seriously wrong with the default Ubuntu 18.04 environment
on GitHub Actions. C++ builds fail with very confusing messages about
C++11 support.
Switching to building in a Ubuntu 18.04 based container - that seems
redundant, but it fixes the problem.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/linux-bionic-5.9.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/linux-bionic-5.9.yml b/.github/workflows/linux-bionic-5.9.yml index 46cebc764..20681b471 100644 --- a/.github/workflows/linux-bionic-5.9.yml +++ b/.github/workflows/linux-bionic-5.9.yml @@ -10,6 +10,8 @@ on: jobs: buildOnBionic: runs-on: ubuntu-18.04 + container: + image: ubuntu:18.04 # yes, this looks redundant, but something is messed up with their Ubuntu image that causes our builds to fail steps: - name: checkout sources @@ -17,8 +19,8 @@ jobs: - name: add build dependencies run: | - sudo apt update - sudo apt install -y \ + apt update + apt install -y \ autoconf automake cmake g++ git libcrypto++-dev libcurl4-gnutls-dev \ libgit2-dev libqt5qml5 libqt5quick5 libqt5svg5-dev \ libqt5webkit5-dev libsqlite3-dev libssh2-1-dev libssl-dev libssl-dev \ |