Commit 0381f14a authored by Guy Korland's avatar Guy Korland
Browse files

add CI action

parent 1ac30300
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
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
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment