add CI action

This commit is contained in:
Guy Korland 2019-10-20 10:04:25 +03:00
parent 1ac30300f0
commit 0381f14acc
3 changed files with 28 additions and 30 deletions

View File

@ -1,16 +0,0 @@
version: 2
jobs:
build:
docker:
- image: circleci/buildpack-deps
steps:
- checkout
- run:
name: Install dependency
command: sudo apt-get install -y tcl
- run:
name: Build
command: make
- run:
name: Test
command: make test

14
.github/pull.yml vendored
View File

@ -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

28
.github/workflows/ci.yml vendored Normal file
View File

@ -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