[Tarantool-patches] [PATCH v1 1/3] Initiate commit testing on github-ci action
Alexander V. Tikhonov
avtikhon at tarantool.org
Fri Dec 11 19:56:24 MSK 2020
Implemented github-ci action workflow on commits.
Added group of CI jobs:
1) on Debian 9 ("Stretch"):
- release
- debug
- release_clang
- release_lto
2) on Debian 10 ("Buster")
- release_lto_clang11
- release_asan_clang11
Part of #5294
---
.github/workflows/ci.yml | 116 +++++++++++++++++++++++++++++++++++++++
1 file changed, 116 insertions(+)
create mode 100644 .github/workflows/ci.yml
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 000000000..f16cc5dff
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,116 @@
+name: CI
+
+on: [push]
+
+env:
+ IMAGE: ghcr.io/avtikhon/tarantool/testing/debian-stretch:latest
+ TRAVIS_MAKE: make -f .travis.mk
+
+jobs:
+ release:
+ runs-on: ubuntu-latest
+ #runs-on: self-hosted
+
+ strategy:
+ fail-fast: false
+
+ container:
+ image: ghcr.io/avtikhon/tarantool/testing/debian-stretch:latest
+
+ steps:
+ - uses: actions/checkout at v1
+ - name: test
+ run: ${TRAVIS_MAKE} test_debian_no_deps
+
+ debug:
+ runs-on: ubuntu-latest
+ #runs-on: self-hosted
+
+ strategy:
+ fail-fast: false
+
+ container:
+ image: ghcr.io/avtikhon/tarantool/testing/debian-stretch:latest
+
+ steps:
+ - uses: actions/checkout at v1
+ - name: test
+ run: ${TRAVIS_MAKE} test_coverage_debian_no_deps
+
+ release_clang:
+ runs-on: ubuntu-latest
+ #runs-on: self-hosted
+
+ strategy:
+ fail-fast: false
+
+ container:
+ image: ghcr.io/avtikhon/tarantool/testing/debian-stretch:latest
+
+ steps:
+ - uses: actions/checkout at v1
+ - name: test
+ env:
+ CC: clang
+ CXX: clang++
+ run: ${TRAVIS_MAKE} test_debian_no_deps
+
+ release_lto:
+ runs-on: ubuntu-latest
+ #runs-on: self-hosted
+
+ strategy:
+ fail-fast: false
+
+ container:
+ image: ghcr.io/avtikhon/tarantool/testing/debian-buster:latest
+
+ steps:
+ - uses: actions/checkout at v2.3.4
+ with:
+ fetch-depth: 0
+ submodules: recursive
+ - name: test
+ env:
+ CMAKE_EXTRA_PARAMS: -DENABLE_LTO=ON
+ run: ${TRAVIS_MAKE} test_debian_no_deps
+
+ release_lto_clang11:
+ runs-on: ubuntu-latest
+ #runs-on: self-hosted
+
+ strategy:
+ fail-fast: false
+
+ container:
+ image: ghcr.io/avtikhon/tarantool/testing/debian-buster:latest
+
+ steps:
+ - uses: actions/checkout at v2.3.4
+ with:
+ fetch-depth: 0
+ submodules: recursive
+ - name: test
+ env:
+ CC: clang-11
+ CXX: clang++-11
+ CMAKE_EXTRA_PARAMS: -DENABLE_LTO=ON
+ run: ${TRAVIS_MAKE} test_debian_no_deps
+
+ release_asan_clang11:
+ runs-on: ubuntu-latest
+ #runs-on: self-hosted
+
+ strategy:
+ fail-fast: false
+
+ container:
+ image: ghcr.io/avtikhon/tarantool/testing/debian-buster:latest
+
+ steps:
+ - uses: actions/checkout at v2.3.4
+ with:
+ fetch-depth: 0
+ submodules: recursive
+ - name: test
+ run: ${TRAVIS_MAKE} test_asan_debian_no_deps
--
2.25.1
More information about the Tarantool-patches
mailing list