Tarantool development patches archive
 help / color / mirror / Atom feed
From: "Alexander V. Tikhonov" <avtikhon@tarantool.org>
To: Oleg Koshovetc <okoshovetc@tarantool.org>,
	Timur Safin <tsafin@tarantool.org>,
	Kirill Yukhin <kyukhin@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v1 1/3] Initiate commit testing on github-ci action
Date: Fri, 11 Dec 2020 19:56:24 +0300	[thread overview]
Message-ID: <f7088105bbe130230f3a0a7630e398f1d70852db.1607705412.git.avtikhon@tarantool.org> (raw)
In-Reply-To: <cover.1607705412.git.avtikhon@tarantool.org>

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@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@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@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@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@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@v2.3.4
+        with:
+          fetch-depth: 0
+          submodules: recursive
+      - name: test
+        run: ${TRAVIS_MAKE} test_asan_debian_no_deps
-- 
2.25.1

  reply	other threads:[~2020-12-11 16:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-11 16:56 [Tarantool-patches] [PATCH v1 0/3] " Alexander V. Tikhonov
2020-12-11 16:56 ` Alexander V. Tikhonov [this message]
2020-12-11 16:56 ` [Tarantool-patches] [PATCH v1 2/3] Implement OSX " Alexander V. Tikhonov
2020-12-11 16:56 ` [Tarantool-patches] [PATCH v1 3/3] Switch coverage saving from travis-ci to github-ci Alexander V. Tikhonov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7088105bbe130230f3a0a7630e398f1d70852db.1607705412.git.avtikhon@tarantool.org \
    --to=avtikhon@tarantool.org \
    --cc=kyukhin@tarantool.org \
    --cc=okoshovetc@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=tsafin@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1 1/3] Initiate commit testing on github-ci action' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox