mirror of
https://github.com/pantor/inja.git
synced 2026-04-03 06:38:52 +00:00
fix ci
This commit is contained in:
60
.github/workflows/ci.yml
vendored
60
.github/workflows/ci.yml
vendored
@@ -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
17
.github/workflows/vsenv.bat
vendored
Normal 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
|
||||
Reference in New Issue
Block a user