+function steps_setenv($os_vnd, $splat_map = null) {
+ if ($os_vnd === "Windows") {
+?>
+ - name: Prepare environment (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
+ - name: Prepare environment (MinGW)
+ if: env.CC_VND == 'mingw'
+ run: |
+ echo 'CMAKE_GENERATOR=MinGW Makefiles' | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
+<?php
+ } elseif ($splat_map !== false) {