mirror of
https://github.com/browsermt/bergamot-translator.git
synced 2024-09-11 05:35:33 +03:00
Explictly install gcc version and use 8 (#81)
* Try to fix gcc missingness in CI
This commit is contained in:
parent
47db7e2b3e
commit
3068ed58ff
@ -2,9 +2,9 @@ name: Native (Full Marian) Ubuntu
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main, ci-sandbox ]
|
branches: [ main, ci-test ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main, ci-sandbox ]
|
branches: [ main, ci-test ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-ubuntu:
|
build-ubuntu:
|
||||||
@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: "Ubuntu CPU-only"
|
- name: "Ubuntu CPU-only"
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
cuda: ""
|
cuda: ""
|
||||||
gcc: 7
|
gcc: 8
|
||||||
cpu: true
|
cpu: true
|
||||||
gpu: false
|
gpu: false
|
||||||
# GPU Builds are commented out, for bergamot-translator CI runs.
|
# 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
|
# No need to install libprotobuf{17,10,9v5} on Ubuntu {20,18,16}.04 because
|
||||||
# it is installed together with libprotobuf-dev
|
# it is installed together with libprotobuf-dev
|
||||||
- name: Install dependencies
|
- 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
|
# https://software.intel.com/content/www/us/en/develop/articles/installing-intel-free-libs-and-python-apt-repo.html
|
||||||
- name: Install MKL
|
- name: Install MKL
|
||||||
|
Loading…
Reference in New Issue
Block a user