Merge pull request #6470 from gkorland/CI

Add Github action for CI
This commit is contained in:
Salvatore Sanfilippo 2019-10-29 10:25:34 +01:00 committed by GitHub
commit 568dfd4b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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