From b751a35337cd33122932d92452d5747c89e155cc Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 20 Dec 2019 11:53:41 -0600 Subject: [PATCH] Add Windows build support. --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06f3208..b6207e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,20 @@ build linux: paths: - linux expire_in: 1 day + tags: + - linux + +build windows: + stage: build + script: + - cargo build --release + - move target windows + artifacts: + paths: + - windows + expire_in: 1 day + tags: + - windows package: stage: package @@ -24,6 +38,7 @@ package: - cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib - mkdir -p godot-tts/target/release - cp linux/release/*.so godot-tts/target/release + - cp windows/release/*.dll godot-tts/target/release - cp LICENSE godot-tts - cp TTS.gd godot-tts.g* godot-tts - cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib @@ -33,6 +48,8 @@ package: paths: - godot-tts expire_in: 1 day + tags: + - linux publish: stage: publish @@ -44,3 +61,5 @@ publish: - godot-tts only: - tags + tags: + - linux