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

github.com/marian-nmt/intgemm/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2020-08-11 01:43:29 +0300
committerKenneth Heafield <github@kheafield.com>2020-08-11 01:43:29 +0300
commit93ec281ae7fd8ddc2e2a302384e688d217ef9885 (patch)
treecdfa9f6113528530eebd823cc3c217b6cf5455ad /.github
parent9a2f5bad3d225b0beb2191c3549a010f3aee1802 (diff)
Continuous integration working
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-ubuntu-18.04-omp.yml29
-rw-r--r--.github/workflows/build-ubuntu-18.04.yml29
-rw-r--r--.github/workflows/release.yml28
-rw-r--r--.github/workflows/ubuntu-debug.yml25
-rw-r--r--.github/workflows/ubuntu-omp.yml25
5 files changed, 78 insertions, 58 deletions
diff --git a/.github/workflows/build-ubuntu-18.04-omp.yml b/.github/workflows/build-ubuntu-18.04-omp.yml
deleted file mode 100644
index 9362ea7..0000000
--- a/.github/workflows/build-ubuntu-18.04-omp.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-name: ubuntu-18.04-omp
-
-on:
- push:
- branches: [ master static ]
- pull_request:
- branches: [ master static ]
-
-jobs:
- build:
-
- runs-on: ubuntu-18.04
-
- steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Configure CMake
- run: |
- mkdir -p build
- cd build
- cmake -DUSE_OPENMP=1 ..
- - name: Compile
- working-directory: build
- run: make -j2
-
- - name: Run unit tests
- working-directory: build
- run: ctest -j2
diff --git a/.github/workflows/build-ubuntu-18.04.yml b/.github/workflows/build-ubuntu-18.04.yml
deleted file mode 100644
index 872d0f1..0000000
--- a/.github/workflows/build-ubuntu-18.04.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-name: ubuntu-18.04
-
-on:
- push:
- branches: [ master static ]
- pull_request:
- branches: [ master static ]
-
-jobs:
- build:
-
- runs-on: ubuntu-18.04
-
- steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Configure CMake
- run: |
- mkdir -p build
- cd build
- cmake ..
- - name: Compile
- working-directory: build
- run: make -j2
-
- - name: Run unit tests
- working-directory: build
- run: ctest -j 2
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..4fb9b3f
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,28 @@
+name: Release
+
+on:
+ push:
+ branches: [master, static]
+ pull_request:
+ branches: [master, static]
+
+jobs:
+ build:
+ strategy:
+ matrix:
+ runs-on: [ubuntu-latest, macOS-latest, windows-latest]
+ runs-on: ${{ matrix.runs-on }}
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: cmake
+ run: |
+ cmake -E make_directory build
+ cd build
+ cmake ..
+ - name: Compile
+ working-directory: build
+ run: cmake --build . -j2
+ - name: Test
+ working-directory: build
+ run: ctest -j2
diff --git a/.github/workflows/ubuntu-debug.yml b/.github/workflows/ubuntu-debug.yml
new file mode 100644
index 0000000..4b6abf4
--- /dev/null
+++ b/.github/workflows/ubuntu-debug.yml
@@ -0,0 +1,25 @@
+name: Ubuntu debug
+
+on:
+ push:
+ branches: [master, static]
+ pull_request:
+ branches: [master, static]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: cmake
+ run: |
+ mkdir -p build
+ cd build
+ cmake -DCMAKE_BUILD_TYPE=Debug ..
+ - name: Compile
+ working-directory: build
+ run: make -j2
+ - name: Test
+ working-directory: build
+ run: ctest -j2
diff --git a/.github/workflows/ubuntu-omp.yml b/.github/workflows/ubuntu-omp.yml
new file mode 100644
index 0000000..a41258f
--- /dev/null
+++ b/.github/workflows/ubuntu-omp.yml
@@ -0,0 +1,25 @@
+name: Ubuntu OpenMP
+
+on:
+ push:
+ branches: [ubuntu, static]
+ pull_request:
+ branches: [ubuntu, static]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: cmake
+ run: |
+ mkdir -p build
+ cd build
+ cmake -DUSE_OPENMP=ON ..
+ - name: Compile
+ working-directory: build
+ run: make -j2
+ - name: Test
+ working-directory: build
+ run: ctest -j2