[Cirrus CI]: Reduce YAML redundancy

This commit is contained in:
Martin Kinkelin 2020-09-03 15:54:07 +02:00 committed by The Dlang Bot
parent 9e790bcbb9
commit b10a896afa

View file

@ -55,49 +55,27 @@ environment:
OS_NAME: linux OS_NAME: linux
FULL_BUILD: false FULL_BUILD: false
# Linux
task: task:
name: Ubuntu 16.04 x86, DMD host compiler name: Ubuntu 16.04 $TASK_NAME_SUFFIX
container: container:
image: ubuntu:16.04 image: ubuntu:16.04
cpu: 4 cpu: 4
memory: 8G memory: 8G
timeout_in: 60m timeout_in: 60m
environment: environment:
matrix:
- TASK_NAME_SUFFIX: x86, DMD host compiler
MODEL: 32 MODEL: 32
<< : *COMMON_STEPS_TEMPLATE - TASK_NAME_SUFFIX: x64, DMD host compiler
- TASK_NAME_SUFFIX: x64, LDC host compiler
task:
name: Ubuntu 16.04 x64, DMD host compiler
container:
image: ubuntu:16.04
cpu: 4
memory: 8G
timeout_in: 60m
<< : *COMMON_STEPS_TEMPLATE
task:
name: Ubuntu 16.04 x64, LDC host compiler
container:
image: ubuntu:16.04
cpu: 4
memory: 8G
timeout_in: 60m
environment:
DMD: ldc DMD: ldc
<< : *COMMON_STEPS_TEMPLATE - TASK_NAME_SUFFIX: x64, GDC host compiler
task:
name: Ubuntu 16.04 x64, GDC host compiler
container:
image: ubuntu:16.04
cpu: 4
memory: 8G
timeout_in: 60m
environment:
GDC_VERSION: 9 GDC_VERSION: 9
DMD: gdmd-9 DMD: gdmd-9
<< : *COMMON_STEPS_TEMPLATE << : *COMMON_STEPS_TEMPLATE
# Mac
task: task:
name: macOS 10.15 x64, DMD host compiler name: macOS 10.15 x64, DMD host compiler
osx_instance: osx_instance:
@ -109,6 +87,7 @@ task:
OS: osx OS: osx
<< : *COMMON_STEPS_TEMPLATE << : *COMMON_STEPS_TEMPLATE
# FreeBSD
task: task:
name: FreeBSD 12.1 x64, DMD host compiler name: FreeBSD 12.1 x64, DMD host compiler
freebsd_instance: freebsd_instance: