👷 add more GitHub actions workflows
This commit is contained in:
parent
b1c1eb145e
commit
cd76f59af6
3 changed files with 40 additions and 2 deletions
19
.github/workflows/macos.yml
vendored
Normal file
19
.github/workflows/macos.yml
vendored
Normal 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
|
|
@ -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
19
.github/workflows/windows.yml
vendored
Normal 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
|
Loading…
Reference in a new issue