+ # win build
+ win-msvc:
+ name: win-msvc (<?=DEF["Windows"]?>, <?=DEF[DEF["Windows"]]?>, <?=DEF[DEF[DEF["Windows"]]]["ver"]?>)
+ runs-on: <?=DEF["Windows"]?> #
+ env:
+ CMAKE_BUILD_TYPE: Release
+ BUILD_TESTING: "OFF"
+ BISON_ROOT: "C:/msys64/usr"
+ FLEX_ROOT: "C:/msys64/usr"
+ OS_VND: Windows
+ OS_VER: <?=DEF["Windows"]?> #
+ CC_VND: <?=DEF[DEF["Windows"]]?> #
+ CC_VER: <?=DEF[DEF[DEF["Windows"]]]["ver"]?> #
+ continue-on-error: true
+ steps:
+ - uses: actions/checkout@v2
+ - name: Generate build tree (${{ env.CMAKE_BUILD_TYPE }})
+ run: cmake --config ${{ env.CMAKE_BUILD_TYPE }} -S . -B build
+ - name: Build all with ${{ env.CC_VND }}
+ run: cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }}
+ - name: Install
+ run: cmake --install build --prefix installed --config ${{ env.CMAKE_BUILD_TYPE }}
+ - name: Package
+ run: cmake -E chdir build cpack
+