+ # mac release
+ rel-mac:
+ name: rel-mac (<?=DEF["macOS"]?>, <?=DEF[DEF["macOS"]]?>, <?=DEF[DEF[DEF["macOS"]]]["ver"]?>)
+ runs-on: <?=DEF["macOS"]?> #
+ env:
+ ENABLE_SASL: "OFF"
+ BUILD_DOCS_MANGZ: "ON"
+<?php env_override("macOS")?>
+ continue-on-error: true
+ steps:
+ - uses: actions/checkout@v2
+<?php steps(false); ?>
+
+ # win build
+ win-msvc:
+ name: win-msvc (<?=DEF["Windows"]?>, <?=DEF[DEF["Windows"]]?>, <?=DEF[DEF[DEF["Windows"]]]["ver"]?>)
+ runs-on: <?=DEF["Windows"]?> #
+ env:
+ ENABLE_SASL: "OFF"
+ BISON_ROOT: "C:/msys64/usr"
+ FLEX_ROOT: "C:/msys64/usr"
+<?php env_override("Windows")?>
+ continue-on-error: true
+ defaults:
+ run:
+ shell: msys2 {0}
+ steps:
+ - uses: actions/checkout@v2
+ - uses: msys2/setup-msys2@v2
+ with:
+ release: false
+ path-type: inherit
+ install: >-
+ rsync
+ openssh
+ - 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
+ env:
+ PUSH_ARTIFACTS_ID: ${{ secrets.PUSH_ARTIFACTS_ID }}
+ run: |
+ cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} --target package
+ cmake --build build --config ${{ env.CMAKE_BUILD_TYPE }} --target push-artifacts
+