Skip to content

WIP

WIP #1107

Workflow file for this run

name: "Windows"
# based on https://github.com/nlohmann/json/blob/develop/.github/workflows/windows.yml
on: [push, pull_request]
jobs:
msvc2019:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
- name: Configure
run: cmake -S . \
-B ${{runner.workspace}}/build \
--warn-uninitialized \
-D UREACT_PEDANTIC:BOOL=y \
-D UREACT_WERROR:BOOL=y \
-G "Visual Studio 16 2019"
- name: Build
working-directory: ${{runner.workspace}}/build
run: cmake --build . --parallel 10 --config Release
- name: Test
working-directory: ${{runner.workspace}}/build
run: ctest -j 10 -C Release --output-on-failure
clang12:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
- name: Install Clang
run: curl -fsSL -o LLVM12.exe https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.0/LLVM-12.0.0-win64.exe ; 7z x LLVM12.exe -y -o"C:/Program Files/LLVM"
- name: Configure
run: cmake -S . \
-B ${{runner.workspace}}/build \
--warn-uninitialized \
-D CMAKE_C_COMPILER="C:/Program Files/LLVM/bin/clang.exe" \
-D CMAKE_CXX_COMPILER="C:/Program Files/LLVM/bin/clang++.exe" \
-D CMAKE_BUILD_TYPE=Release \
-D UREACT_PEDANTIC:BOOL=y \
-D UREACT_WERROR:BOOL=y \
-G"MinGW Makefiles"
- name: Build
working-directory: ${{runner.workspace}}/build
run: cmake --build . --parallel 10
- name: Test
working-directory: ${{runner.workspace}}/build
run: ctest -j 10 -C Release --output-on-failure
clang-cl-10:
runs-on: windows-2019
strategy:
matrix:
arch: [Win32, x64]
steps:
- uses: actions/checkout@v1
- name: Configure
run: cmake -S . \
-B ${{runner.workspace}}/build \
--warn-uninitialized \
-G "Visual Studio 16 2019" \
-A ${{matrix.arch}} \
-T ClangCL
- name: Build
working-directory: ${{runner.workspace}}/build
run: cmake --build . --config Release --parallel 10
- name: Test
working-directory: ${{runner.workspace}}/build
run: ctest -j 10 -C Release --output-on-failure