]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
ci: build for Windows
authorSimon Ruderich <simon@ruderich.org>
Sun, 16 May 2021 20:42:51 +0000 (22:42 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 16 May 2021 20:42:50 +0000 (22:42 +0200)
Only added to Gitlab-CI because we just want to test if building works
in general.

.gitlab-ci.yml

index 0bacecd89c17500918bfac60609bd76369cc9402..a3b7c4d1932655d0ce0a094f5061a7080e9ab8dd 100644 (file)
@@ -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