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