+ # win msvc 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"
+ BISON_ROOT: "C:/msys64/usr"
+ FLEX_ROOT: "C:/msys64/usr"
+<?php env_override("Windows", "msvc")?>
+ continue-on-error: true
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ - uses: msys2/setup-msys2@v2
+ with:
+ release: false
+ path-type: inherit
+ install: >-
+ rsync
+ openssh
+<?php steps(false);?>
+
+ # win mingw build (set PATH=%PATH%;c:\msys64\mingw64\bin)
+ win-mingw:
+ name: win-mingw (<?=DEF["Windows"]?>, mingw, <?=DEF["mingw"]["ver"]?>)
+ runs-on: <?=DEF["Windows"]?> #
+ env:
+ CMAKE_BUILD_TYPE: "Release"
+ CMAKE_GENERATOR: "MinGW Makefiles"
+ BISON_ROOT: "C:/msys64/usr"
+ FLEX_ROOT: "C:/msys64/usr"
+<?php env_override("Windows", "mingw")?>
+ continue-on-error: true
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ - uses: msys2/setup-msys2@v2
+ with:
+ release: false
+ path-type: inherit
+ install: >-
+ rsync
+ openssh
+ mingw-w64-x86_64-toolchain
+ git
+ - name: Prepare environment (for mingw on Windows)
+ run: |
+ echo "c:\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ echo "c:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+<?php steps(false);?>
+
+ # linux release builds