CirrusCI: add bootstrap builds with 2.079.0

This commit is contained in:
Sebastian Wilzbach 2020-09-03 05:13:35 +02:00
parent a0c2808b15
commit 5583c090cc

View file

@ -16,7 +16,11 @@ common_steps_template: &COMMON_STEPS_TEMPLATE
# required for install.sh # required for install.sh
brew install gnupg brew install gnupg
elif [ "$OS_NAME" == "freebsd" ]; then elif [ "$OS_NAME" == "freebsd" ]; then
pkg install -y git gmake bash packages="git gmake bash"
if [ "${D_VERSION:-x}" == "2.079.0" ] ; then
packages="$packages lang/gcc9"
fi
pkg install -y $packages
rm /usr/bin/make rm /usr/bin/make
ln -s /usr/local/bin/gmake /usr/bin/make ln -s /usr/local/bin/gmake /usr/bin/make
fi fi
@ -26,7 +30,7 @@ common_steps_template: &COMMON_STEPS_TEMPLATE
source ci.sh source ci.sh
# kludge # kludge
if [ "${DMD:0:4}" == "gdmd" ]; then export DMD="gdmd"; fi if [ "${DMD:0:4}" == "gdmd" ]; then export DMD="gdmd"; fi
install_d "$DMD" if [ -z "${D_VERSION+x}" ]; then install_d "$DMD"; else install_d "$DMD-$D_VERSION"; fi
setup_repos_script: | setup_repos_script: |
export BRANCH=${CIRRUS_BASE_BRANCH:-$CIRRUS_BRANCH} export BRANCH=${CIRRUS_BASE_BRANCH:-$CIRRUS_BRANCH}
source ci.sh source ci.sh
@ -64,19 +68,24 @@ task:
timeout_in: 60m timeout_in: 60m
environment: environment:
matrix: matrix:
- TASK_NAME_SUFFIX: x86, DMD host compiler - TASK_NAME_SUFFIX: x86, DMD (latest)
MODEL: 32 MODEL: 32
- TASK_NAME_SUFFIX: x64, DMD host compiler - TASK_NAME_SUFFIX: x86, DMD (bootstrap)
- TASK_NAME_SUFFIX: x64, LDC host compiler MODEL: 32
D_VERSION: 2.079.0
- TASK_NAME_SUFFIX: x64, DMD (latest)
- TASK_NAME_SUFFIX: x64, DMD (bootstrap)
D_VERSION: 2.079.0
- TASK_NAME_SUFFIX: x64, LDC
DMD: ldc DMD: ldc
- TASK_NAME_SUFFIX: x64, GDC host compiler - TASK_NAME_SUFFIX: x64, GDC
GDC_VERSION: 9 GDC_VERSION: 9
DMD: gdmd-9 DMD: gdmd-9
<< : *COMMON_STEPS_TEMPLATE << : *COMMON_STEPS_TEMPLATE
# Mac # Mac
task: task:
name: macOS 10.15 x64, DMD host compiler name: macOS 10.15 x64, $TASK_NAME_SUFFIX
osx_instance: osx_instance:
image: catalina-xcode image: catalina-xcode
timeout_in: 60m timeout_in: 60m
@ -84,11 +93,17 @@ task:
OS_NAME: darwin OS_NAME: darwin
# override Cirrus default OS (`darwin`) # override Cirrus default OS (`darwin`)
OS: osx OS: osx
matrix:
- TASK_NAME_SUFFIX: DMD (latest)
- TASK_NAME_SUFFIX: DMD (bootstrap)
# de-facto bootstrap version on OSX
# See: https://forum.dlang.org/post/qfsgt2$1goc$1@digitalmars.com
D_VERSION: 2.088.0
<< : *COMMON_STEPS_TEMPLATE << : *COMMON_STEPS_TEMPLATE
# FreeBSD # FreeBSD
task: task:
name: FreeBSD 12.1 x64, DMD host compiler name: FreeBSD 12.1 x64, DMD (latest)
freebsd_instance: freebsd_instance:
image_family: freebsd-12-1 image_family: freebsd-12-1
cpu: 4 cpu: 4
@ -97,3 +112,15 @@ task:
environment: environment:
OS_NAME: freebsd OS_NAME: freebsd
<< : *COMMON_STEPS_TEMPLATE << : *COMMON_STEPS_TEMPLATE
task:
name: FreeBSD 11.4 x64, DMD (bootstrap)
freebsd_instance:
image_family: freebsd-11-4
cpu: 4
memory: 8G
timeout_in: 60m
environment:
OS_NAME: freebsd
D_VERSION: 2.079.0
<< : *COMMON_STEPS_TEMPLATE