👷 add Clang/Windows step

pull/2259/head
Niels Lohmann 2020-05-30 13:07:23 +02:00
parent 23c8ab95da
commit 2182935397
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
name: Windows
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: install Clang
run: choco install -y llvm
- name: cmake
run: cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On
- name: build
run: cmake --build build --parallel 10
- name: test
run: cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure