summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-03 15:45:06 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-03 17:14:28 -0800
commit3ad1a5c7c77f7aa9e703e1f977c739a0ea1e5a54 (patch)
tree9bd094636ae2216518ade9498a182ee1f70ae6d7 /.github
parenta686be07f937e7f36088eb5bc0d5a40bee3f6117 (diff)
downloadsubsurface-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.yml6
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 \