summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
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/workflows/ci.yml
parent1ac30300f027c334aa044a6f579562e52f43f26b (diff)
downloadredis-0381f14accb4dda6372a3bce34aafbc7e38baa0c.tar.gz
add CI action
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml28
1 files changed, 28 insertions, 0 deletions
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