👷 add Clang/Windows step
This commit is contained in:
parent
23c8ab95da
commit
2182935397
1 changed files with 19 additions and 0 deletions
19
.github/workflows/windows_clang.yml
vendored
Normal file
19
.github/workflows/windows_clang.yml
vendored
Normal 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
|
Loading…
Reference in a new issue