2020-05-12 18:30:11 +00:00
|
|
|
name: Windows
|
2019-09-02 19:35:53 +00:00
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
2020-05-12 18:30:11 +00:00
|
|
|
runs-on: windows-latest
|
2020-05-12 18:26:17 +00:00
|
|
|
|
2019-09-02 19:35:53 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: cmake
|
2020-05-12 19:18:08 +00:00
|
|
|
run: cmake -S . -B build -G "Visual Studio 16 2019" -D CMAKE_BUILD_TYPE=Release
|
2019-09-02 20:15:11 +00:00
|
|
|
- name: build
|
2020-05-12 18:45:18 +00:00
|
|
|
run: cmake --build build --parallel 10
|
2019-09-02 20:15:11 +00:00
|
|
|
- name: test
|
2020-05-12 19:18:08 +00:00
|
|
|
run: cd build ; ctest -j 10 -C Release
|