👷 add more GitHub actions workflows

This commit is contained in:
Niels Lohmann 2020-05-12 20:26:17 +02:00
parent b1c1eb145e
commit cd76f59af6
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
3 changed files with 40 additions and 2 deletions

19
.github/workflows/macos.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Windows
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: prepare
run: mkdir build
- name: cmake
run: cd build ; cmake ..
- name: build
run: make -C build
- name: test
run: cd build ; ctest -j 10

View file

@ -1,4 +1,4 @@
name: C/C++ CI
name: Ubuntu
on: [push]
@ -6,7 +6,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: prepare

19
.github/workflows/windows.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: macOS
on: [push]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: prepare
run: mkdir build
- name: cmake
run: cd build ; cmake ..
- name: build
run: make -C build
- name: test
run: cd build ; ctest -j 10