watcher/cli: fix json for assoc #595
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Windows Workflow | |
# | |
# https://github.com/filipdutescu/modern-cpp-template/blob/master/.github/workflows | |
name: Windows | |
on: | |
push: | |
branches: [ release, next ] | |
pull_request: | |
branches: [ release, next ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
cxx_compiler: | |
- msvc | |
install_location: | |
- .local | |
os: | |
- windows-2022 | |
- windows-2019 | |
runs-on: ${{matrix.os}} | |
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip ci windows]')" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Cpp | |
uses: aminya/setup-cpp@v1 | |
with: | |
compiler: ${{matrix.cxx_compiler}} | |
vcvarsall: ${{contains(matrix.os, 'windows')}} | |
cmake: true | |
ccache: false | |
ninja: false | |
conan: false | |
vcpkg: false | |
gcovr: false | |
cppcheck: false | |
clangtidy: false | |
opencppcoverage: false | |
- name: Build | |
run: | | |
bash -c 'if [ ! -d build/tiny ] ; then mkdir -p build/tiny ; fi' | |
cl.exe src/wtr/tiny_watcher/main.cpp /std:c++17 /O2 /EHs /EHr /EHc /Fe:build/tiny/watcher.exe | |
bash -c 'ls -hal build/tiny' | |
bash -c 'cmake -S . -B build/manual ; cmake --build build/manual --target wtr.test_watcher --config Release' | |
bash -c 'cmake -S . -B build/manual ; cmake --build build/manual --target wtr.test_watcher --config Debug' | |
- name: Test | |
env: | |
VERBOSE: 1 | |
run: | | |
bash -c 'build/manual/Debug/wtr.test_watcher.exe' | |
bash -c 'build/manual/Release/wtr.test_watcher.exe' | |
bash -c 'echo f windows' | |