Add GitHub workflows (#93)

* add mac workflow

* rename and add windows and ubuntu workflows

* update tests

* update tests

* update travis
This commit is contained in:
Lars Melchior
2019-10-24 18:14:58 +02:00
committed by GitHub
parent 47bfb554ab
commit 3a4516265c
6 changed files with 60 additions and 2 deletions

16
.github/workflows/macos.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: MacOS
on: [push]
jobs:
build:
runs-on: macOS-10.14
steps:
- uses: actions/checkout@v1
- name: run tests
run: |
cmake -Htest -Bbuild/test
cmake --build build/test --target test-verbose

23
.github/workflows/ubuntu.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Ubuntu
on: [push]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: install updates
run: |
wget -O cmake.sh https://cmake.org/files/v3.14/cmake-3.14.0-Linux-x86_64.sh
sudo sh cmake.sh --skip-license --exclude-subdir --prefix=/usr/local
export PATH=/usr/local/bin:$PATH
cmake --version
- name: run tests
run: |
cmake -Htest -Bbuild/test
cmake --build build/test --target test-verbose

16
.github/workflows/windows.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Windows
on: [push]
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
- name: run tests
run: |
cmake -Htest -Bbuild/test
cmake --build build/test --target test-verbose