]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blob - .gitlab-ci.yml
.github: update upstream actions to latest version
[nsscash/nsscash.git] / .gitlab-ci.yml
1 .template-docker: &template-docker
2   before_script:
3     - apt-get update
4     - apt-get install --no-install-recommends --yes golang golang-golang-x-tools build-essential clang git ca-certificates
5   script:
6     # Run as user nobody so CAP_DAC_OVERRIDE is dropped and the tests can
7     # chmod a file 0000 to force "permission denied" errors.
8     - export HOME=/tmp # writable by nobody
9     - chown -R nobody .
10     # Empty TEST_* as -fsanitize doesn't work in a Docker container
11     - runuser -p -u nobody -- ./ci/run TEST_CFLAGS= TEST_LDFLAGS=
12
13 debian-stable:
14   <<: *template-docker
15   image: debian:stable
16
17 debian-testing:
18   <<: *template-docker
19   image: debian:testing
20
21 debian-sid:
22   <<: *template-docker
23   image: debian:sid