From 218293539749abc00bc531cb505410aa223545c1 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 30 May 2020 13:07:23 +0200 Subject: [PATCH] :construction_worker: add Clang/Windows step --- .github/workflows/windows_clang.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/windows_clang.yml diff --git a/.github/workflows/windows_clang.yml b/.github/workflows/windows_clang.yml new file mode 100644 index 00000000..9bb39f54 --- /dev/null +++ b/.github/workflows/windows_clang.yml @@ -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