Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ubuntu-gpu.yml')
-rw-r--r--.github/workflows/ubuntu-gpu.yml16
1 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/ubuntu-gpu.yml b/.github/workflows/ubuntu-gpu.yml
index ccea606b..a8b7a2ba 100644
--- a/.github/workflows/ubuntu-gpu.yml
+++ b/.github/workflows/ubuntu-gpu.yml
@@ -7,25 +7,37 @@ on:
branches: [ master ]
jobs:
- build:
+ build-ubuntu-cuda:
runs-on: ${{ matrix.os }}
+ continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
include:
# Ubuntu 20.04 supports CUDA 11+
+ - os: ubuntu-20.04
+ cuda: "11.0"
+ gcc: 9
+ boost: false # ubuntu-20.04 image does not have Boost pre-installed yet
+ experimental: true # continue even if the job fails
# Ubuntu 18.04 supports CUDA 10.1+
- os: ubuntu-18.04
cuda: "10.2"
gcc: 8
+ boost: true
+ experimental: false
# Ubuntu 16.04 supports CUDA 8+
- os: ubuntu-16.04
cuda: "10.2"
gcc: 7
+ boost: true
+ experimental: false
- os: ubuntu-16.04
cuda: 9.2
gcc: 7
+ boost: true
+ experimental: false
steps:
- name: Checkout
@@ -58,7 +70,7 @@ jobs:
cd build
CC=/usr/bin/gcc-${{ matrix.gcc }} CXX=/usr/bin/g++-${{ matrix.gcc }} CUDAHOSTCXX=/usr/bin/g++-${{ matrix.gcc }} \
cmake .. \
- -DCOMPILE_CPU=on -DCOMPILE_CUDA=on -DCOMPILE_EXAMPLES=on -DCOMPILE_SERVER=on -DCOMPILE_TESTS=on \
+ -DCOMPILE_CPU=on -DCOMPILE_CUDA=on -DCOMPILE_EXAMPLES=on -DCOMPILE_SERVER=${{ matrix.boost }} -DCOMPILE_TESTS=on \
-DUSE_FBGEMM=on -DUSE_SENTENCEPIECE=on \
-DBOOST_ROOT=$BOOST_ROOT_1_69_0 -DBOOST_INCLUDEDIR=$BOOST_ROOT_1_69_0/include -DBOOST_LIBRARYDIR=$BOOST_ROOT_1_69_0/lib \
-DBoost_ARCHITECTURE=-x64 \