Commit 69187c14 authored by Michał Kępień's avatar Michał Kępień

Add FreeBSD to GitLab CI

Ensure BIND can be tested on FreeBSD in GitLab to more quickly catch
build and test errors on that platform.  Make the relevant jobs optional
until the CI environment supporting them is deemed stable enough for
continuous use.
parent cfb10d85
......@@ -22,6 +22,11 @@ stages:
### Runner Tag Templates
.freebsd-amd64: &freebsd_amd64
tags:
- freebsd
- amd64
.linux-amd64: &linux_amd64
tags:
- linux
......@@ -100,6 +105,18 @@ stages:
image: "$CI_REGISTRY_IMAGE:ubuntu-bionic-i386"
<<: *linux_i386
### FreeBSD Release Templates
.freebsd-11.3-amd64: &freebsd_11_3_amd64
variables:
FREEBSD_RELEASE: "11.3"
<<: *freebsd_amd64
.freebsd-12.0-amd64: &freebsd_12_0_amd64
variables:
FREEBSD_RELEASE: "12.0"
<<: *freebsd_amd64
### Job Templates
.default-triggering-rules: &default_triggering_rules
......@@ -625,6 +642,52 @@ unit:pkcs11:sid:amd64:
dependencies:
- pkcs11:sid:amd64
# Jobs for Clang builds on FreeBSD 11.3 (amd64)
clang:freebsd11.3:amd64:
variables:
CFLAGS: "-Wall -Wextra -O2 -g"
<<: *freebsd_11_3_amd64
<<: *build_job
when: manual
system:clang:freebsd11.3:amd64:
<<: *freebsd_11_3_amd64
<<: *system_test_job
dependencies:
- clang:freebsd11.3:amd64
when: manual
unit:clang:freebsd11.3:amd64:
<<: *freebsd_11_3_amd64
<<: *unit_test_job
dependencies:
- clang:freebsd11.3:amd64
when: manual
# Jobs for Clang builds on FreeBSD 12.0 (amd64)
clang:freebsd12.0:amd64:
variables:
CFLAGS: "-Wall -Wextra -O2 -g"
<<: *freebsd_12_0_amd64
<<: *build_job
when: manual
system:clang:freebsd12.0:amd64:
<<: *freebsd_12_0_amd64
<<: *system_test_job
dependencies:
- clang:freebsd12.0:amd64
when: manual
unit:clang:freebsd12.0:amd64:
<<: *freebsd_12_0_amd64
<<: *unit_test_job
dependencies:
- clang:freebsd12.0:amd64
when: manual
# Jobs with libtool disabled
nolibtool:sid:amd64:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment