gh-actions: move environment setting to workflow level
This commit is contained in:
19
.github/workflows/build-and-test.yml
vendored
19
.github/workflows/build-and-test.yml
vendored
@@ -4,6 +4,14 @@ on:
|
||||
push:
|
||||
branches: [ devel/gh-actions ]
|
||||
|
||||
env:
|
||||
SETUP_PATH: .:.ci
|
||||
SET: test01
|
||||
VV: 1
|
||||
BASE_RECURSIVE: NO
|
||||
CMP: gcc
|
||||
APT: re2c
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build on ${{ matrix.os }}
|
||||
@@ -11,12 +19,6 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-18.04, ubuntu-16.04, windows-2019]
|
||||
env:
|
||||
SETUP_PATH: .:.ci
|
||||
SET: test01
|
||||
VV: 1
|
||||
BASE_RECURSIVE: NO
|
||||
CMP: gcc
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -34,11 +36,6 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-18.04, ubuntu-16.04, windows-2019]
|
||||
env:
|
||||
SETUP_PATH: .:.ci
|
||||
SET: test00
|
||||
VV: 1
|
||||
BASE_RECURSIVE: NO
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
Reference in New Issue
Block a user