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:
authorRoman Grundkiewicz <rgrundkiewicz@gmail.com>2020-09-02 19:20:34 +0300
committerGitHub <noreply@github.com>2020-09-02 19:20:34 +0300
commit9336746f89fc5733e480d44d45fde4556f992338 (patch)
tree5710fc619f05e5a7497832da6154c3ef41c86c31 /.github
parent4d9d15649e83766fd2ee2a79db79e0d8a2fed3c4 (diff)
Add GitHub workflow with CUDA 11 on Ubuntu 20.04 (#704)
* Add GitHub workflow with CUDA 11 on Ubuntu 20.04 * Make build job names unique * Make build with CUDA 11 experimental
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macos-cpu.yml2
-rw-r--r--.github/workflows/ubuntu-cpu.yml2
-rw-r--r--.github/workflows/ubuntu-gpu.yml16
-rw-r--r--.github/workflows/windows-cpu.yml2
-rw-r--r--.github/workflows/windows-gpu.yml2
5 files changed, 18 insertions, 6 deletions
diff --git a/.github/workflows/macos-cpu.yml b/.github/workflows/macos-cpu.yml
index 07f2a9dd..87e269a6 100644
--- a/.github/workflows/macos-cpu.yml
+++ b/.github/workflows/macos-cpu.yml
@@ -7,7 +7,7 @@ on:
branches: [ master ]
jobs:
- build:
+ build-macos:
runs-on: macos-10.15
diff --git a/.github/workflows/ubuntu-cpu.yml b/.github/workflows/ubuntu-cpu.yml
index 4217053c..401162d3 100644
--- a/.github/workflows/ubuntu-cpu.yml
+++ b/.github/workflows/ubuntu-cpu.yml
@@ -7,7 +7,7 @@ on:
branches: [ master ]
jobs:
- build-and-upload:
+ build-ubuntu:
runs-on: ubuntu-18.04
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 \
diff --git a/.github/workflows/windows-cpu.yml b/.github/workflows/windows-cpu.yml
index b6543d0d..70167fa7 100644
--- a/.github/workflows/windows-cpu.yml
+++ b/.github/workflows/windows-cpu.yml
@@ -7,7 +7,7 @@ on:
branches: [ master ]
jobs:
- build-and-upload:
+ build-windows:
runs-on: windows-2019
diff --git a/.github/workflows/windows-gpu.yml b/.github/workflows/windows-gpu.yml
index 360b64f4..ef71abcd 100644
--- a/.github/workflows/windows-gpu.yml
+++ b/.github/workflows/windows-gpu.yml
@@ -7,7 +7,7 @@ on:
branches: [ master ]
jobs:
- build:
+ build-windows-cuda:
runs-on: windows-2019