]> ruderich.org/simon Gitweb - safcm/safcm.git/blob - .gitlab-ci.yml
Use SPDX license identifiers
[safcm/safcm.git] / .gitlab-ci.yml
1 .template-docker: &template-docker
2   before_script:
3     - apt-get update
4     - apt-get install --no-install-recommends --yes build-essential ca-certificates git golang golang-golang-x-tools make openssh-server shellcheck
5   script:
6     # Gitlab-runner uses umask 0000 (wtf?!) and mixes nobody and root user
7     # when setting up the environment. This breaks ssh's permission check on
8     # authorized_keys.
9     - chown -R root:root /builds
10     - chmod -R go-w /builds
11     #
12     - mkdir /run/sshd
13     - ./ci/run
14     # Windows is not really supported, but at least check building works
15     - PATH=$HOME/go/bin:$PATH make GOOS=windows GOFLAGS=
16
17 debian-sid:
18   <<: *template-docker
19   image: debian:sid