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-10 23:50:15 +0300
committerKenneth Heafield <github@kheafield.com>2020-08-10 23:50:15 +0300
commita97997c04fe7e23bfecf74c452d46c1179b11f77 (patch)
tree41ff531e3c530208617e0186a7c2aa6e1b5fb993
parent1ba086e1e380269471b1d023a4f0781afb6bf7ca (diff)
Try to setup CI
-rw-r--r--.github/workflows/build-ubuntu-18.04.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/build-ubuntu-18.04.yml b/.github/workflows/build-ubuntu-18.04.yml
new file mode 100644
index 0000000..872d0f1
--- /dev/null
+++ b/.github/workflows/build-ubuntu-18.04.yml
@@ -0,0 +1,29 @@
+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