X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=.gitlab-ci.yml;h=a3b7c4d1932655d0ce0a094f5061a7080e9ab8dd;hb=fd97e8019e2ab166d9475ed59782c86247d8430b;hp=e2ec0a52a7582a9265fd431dbf90b2d41bebaabc;hpb=825f928d824f728088606bcbf112d30d7a76f627;p=safcm%2Fsafcm.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e2ec0a5..a3b7c4d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ .template-docker: &template-docker before_script: - apt-get update - - apt-get install --no-install-recommends --yes build-essential ca-certificates git golang golang-1.16 golang-golang-x-tools make openssh-server + - apt-get install --no-install-recommends --yes build-essential ca-certificates git golang golang-1.16 golang-golang-x-tools make openssh-server shellcheck script: # Gitlab-runner uses umask 0000 (wtf?!) and mixes nobody and root user # when setting up the environment. This breaks ssh's permission check on @@ -15,6 +15,8 @@ # - mkdir /run/sshd - ./ci/run + # Windows is not really supported, but at least check building works + - PATH=$HOME/go/bin:$PATH make GOOS=windows GOFLAGS= debian-sid: <<: *template-docker