Shorten matrix config
This commit is contained in:
parent
6dc01df7c4
commit
42ec465a45
1 changed files with 4 additions and 16 deletions
20
.github/workflows/ci-main.yml
vendored
20
.github/workflows/ci-main.yml
vendored
|
@ -40,16 +40,8 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- tool: scons
|
||||
cc: gcc
|
||||
cxx: g++
|
||||
cfg: release
|
||||
lto: true
|
||||
- tool: cmake
|
||||
cc: clang
|
||||
cxx: clang++
|
||||
cfg: debug
|
||||
lto: false
|
||||
- { tool: scons, cc: gcc, cxx: g++, cfg: release, lto: true }
|
||||
- { tool: cmake, cc: clang, cxx: clang++, cfg: debug, lto: false }
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: wesnoth/wesnoth:2204-master
|
||||
|
@ -240,12 +232,8 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- os: macos-11.0
|
||||
cfg: Debug
|
||||
- os: macos-11.0
|
||||
cfg: Release
|
||||
runs-on: ${{ matrix.os }}
|
||||
cfg: [ Debug, Release ]
|
||||
runs-on: macos-11.0
|
||||
env:
|
||||
CFG: ${{ matrix.cfg }}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue