This commit is contained in:
pantor
2020-03-21 15:21:42 +01:00
parent 095defcf13
commit bbb1f3a1da
3 changed files with 30 additions and 49 deletions

View File

@@ -16,8 +16,6 @@ jobs:
# Github Actions requires a single row to be added to the build matrix.
# See https://help.github.com/en/articles/workflow-syntax-for-github-actions.
name: [
ubuntu-18.04-gcc-4.8,
ubuntu-18.04-gcc-4.9,
ubuntu-18.04-gcc-5,
ubuntu-18.04-gcc-6,
ubuntu-18.04-gcc-7,
@@ -42,28 +40,14 @@ jobs:
windows-2019-clang-cl,
windows-2019-clang,
windows-2019-gcc,
macOS-10.14-xcode-9.4.1,
macOS-10.14-xcode-10.0,
macOS-10.14-xcode-10.1,
macOS-10.14-xcode-10.2,
macOS-10.14-xcode-10.2.1,
macOS-10.14-xcode-10.3,
macOS-10.14-gcc-7,
macOS-10.14-gcc-8,
macOS-10.14-gcc-9,
macOS-latest-xcode-11.0,
macOS-latest-xcode-11.3,
]
include:
- name: ubuntu-18.04-gcc-4.8
os: ubuntu-18.04
compiler: gcc
version: "4.8"
- name: ubuntu-18.04-gcc-4.9
os: ubuntu-18.04
compiler: gcc
version: "4.9"
- name: ubuntu-18.04-gcc-5
os: ubuntu-18.04
compiler: gcc
@@ -176,36 +160,6 @@ jobs:
os: windows-2019
compiler: gcc
- name: macOS-10.14-xcode-9.4.1
os: macOS-10.14
compiler: xcode
version: "9.4.1"
- name: macOS-10.14-xcode-10.0
os: macOS-10.14
compiler: xcode
version: "10"
- name: macOS-10.14-xcode-10.1
os: macOS-10.14
compiler: xcode
version: "10.1"
- name: macOS-10.14-Xcode-10.2
os: macOS-10.14
compiler: xcode
version: "10.2"
- name: macOS-10.14-xcode-10.2.1
os: macOS-10.14
compiler: xcode
version: "10.2.1"
- name: macOS-10.14-xcode-10.3
os: macOS-10.14
compiler: xcode
version: "10.3"
- name: macOS-10.14-gcc-7
os: macOS-10.14
compiler: gcc
@@ -221,6 +175,16 @@ jobs:
compiler: gcc
version: "9"
- name: macOS-latest-xcode-11.0
os: macOS-latest
compiler: xcode
version: "11"
- name: macOS-latest-xcode-11.3
os: macOS-latest
compiler: xcode
version: "11.3"
steps:
- uses: actions/checkout@v1

17
.github/workflows/vsenv.bat vendored Normal file
View File

@@ -0,0 +1,17 @@
@echo off
SET VSWHERE="C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere"
:: See https://github.com/microsoft/vswhere/wiki/Find-VC
for /f "usebackq delims=*" %%i in (`%VSWHERE% -latest -property installationPath`) do (
call "%%i"\Common7\Tools\vsdevcmd.bat %*
)
:: Loop over all environment variables and make them global using set-env.
:: See: https://help.github.com/en/articles/development-tools-for-github-actions#set-an-environment-variable-set-env
:: See: https://stackoverflow.com/questions/39183272/loop-through-all-environmental-variables-and-take-actions-depending-on-prefix
setlocal
for /f "delims== tokens=1,2" %%a in ('set') do (
echo ::set-env name=%%a::%%b
)
endlocal