summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGuy Korland <gkorland@gmail.com>2019-10-20 10:04:25 +0300
committerGuy Korland <gkorland@gmail.com>2019-10-20 10:04:25 +0300
commit0381f14accb4dda6372a3bce34aafbc7e38baa0c (patch)
tree4ba0b9e05ac3394e07bf0d4450c2819443c829c8 /.github
parent1ac30300f027c334aa044a6f579562e52f43f26b (diff)
downloadredis-0381f14accb4dda6372a3bce34aafbc7e38baa0c.tar.gz
add CI action
Diffstat (limited to '.github')
-rw-r--r--.github/pull.yml14
-rw-r--r--.github/workflows/ci.yml28
2 files changed, 28 insertions, 14 deletions
diff --git a/.github/pull.yml b/.github/pull.yml
deleted file mode 100644
index 6ccf19ca9..000000000
--- a/.github/pull.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-version: "1"
-rules:
- - base: unstable
- upstream: antirez:unstable
- mergeMethod: merge
- - base: 5.0
- upstream: antirez:5.0
- mergeMethod: merge
- - base: 4.0
- upstream: antirez:4.0
- mergeMethod: merge
- - base: 3.2
- upstream: antirez:3.2
- mergeMethod: merge
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 000000000..847abcf02
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,28 @@
+name: CI
+
+on: [push, pull_request]
+
+jobs:
+ build-ubuntu:
+ strategy:
+ matrix:
+ platform: [ubuntu-latest, ubuntu-16.04]
+ runs-on: ${{ matrix.platform }}
+ steps:
+ - uses: actions/checkout@v1
+ - name: make
+ run: make
+ - name: test
+ run: |
+ sudo apt-get install tcl8.5
+ make test
+
+ build-macos-latest:
+ strategy:
+ matrix:
+ platform: [macos-latest, macOS-10.14]
+ runs-on: ${{ matrix.platform }}
+ steps:
+ - uses: actions/checkout@v1
+ - name: make
+ run: make