Explictly install gcc version and use 8 (#81)

* Try to fix gcc missingness in CI
This commit is contained in:
Kenneth Heafield 2021-04-01 13:56:16 +01:00 committed by GitHub
parent 47db7e2b3e
commit 3068ed58ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,9 +2,9 @@ name: Native (Full Marian) Ubuntu
on:
push:
branches: [ main, ci-sandbox ]
branches: [ main, ci-test ]
pull_request:
branches: [ main, ci-sandbox ]
branches: [ main, ci-test ]
jobs:
build-ubuntu:
@ -15,7 +15,7 @@ jobs:
- name: "Ubuntu CPU-only"
os: ubuntu-latest
cuda: ""
gcc: 7
gcc: 8
cpu: true
gpu: false
# GPU Builds are commented out, for bergamot-translator CI runs.
@ -62,7 +62,7 @@ jobs:
# No need to install libprotobuf{17,10,9v5} on Ubuntu {20,18,16}.04 because
# it is installed together with libprotobuf-dev
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libgoogle-perftools-dev libprotobuf-dev protobuf-compiler libboost-all-dev
run: sudo apt-get update && sudo apt-get install -y libgoogle-perftools-dev libprotobuf-dev protobuf-compiler libboost-all-dev g++-8
# https://software.intel.com/content/www/us/en/develop/articles/installing-intel-free-libs-and-python-apt-repo.html
- name: Install MKL