👷 add Clang/Windows step

This commit is contained in:
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

19
.github/workflows/windows_clang.yml vendored Normal file
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