This commit is contained in:
Lars Melchior 2020-04-11 12:31:08 +02:00
commit c94580f25c
15 changed files with 711 additions and 0 deletions

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

@ -0,0 +1,25 @@
name: Style
on: [push]
env:
CTEST_OUTPUT_ON_FAILURE: 1
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: configure
run: cmake -Htest -Bbuild
- name: build
run: cmake --build build --config Debug
- name: test
run: |
cd build/debug
ctest --build-config Debug

20
.github/workflows/style.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: MacOS
on: [push]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Install clang-format
run: brew install clang-format
- name: configure
run: cmake -Htest -Bbuild
- name: check style
run: cmake --build build --target check-format

25
.github/workflows/ubuntu.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Ubuntu
on: [push]
env:
CTEST_OUTPUT_ON_FAILURE: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: configure
run: cmake -Htest -Bbuild
- name: build
run: cmake --build build --config Debug
- name: test
run: |
cd build/debug
ctest --build-config Debug

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

@ -0,0 +1,25 @@
name: Windows
on: [push]
env:
CTEST_OUTPUT_ON_FAILURE: 1
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: configure
run: cmake -Htest -Bbuild
- name: build
run: cmake --build build --config Debug
- name: test
run: |
cd build/debug
ctest --build-config Debug