json/.github/workflows/windows.yml

18 lines
426 B
YAML
Raw Normal View History

2020-05-13 02:30:11 +08:00
name: Windows
on: [push, pull_request]
jobs:
build:
2020-05-13 02:30:11 +08:00
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: cmake
run: cmake -S . -B build -G "Visual Studio 16 2019" -D CMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On
2019-09-03 04:15:11 +08:00
- name: build
run: cmake --build build --parallel 10
2019-09-03 04:15:11 +08:00
- name: test
2020-05-19 19:45:52 +08:00
run: cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure