mirror of
https://github.com/lightsoutgames/godot-tts
synced 2024-11-10 00:05:56 +00:00
Add Windows build support.
This commit is contained in:
parent
9b1fd0ce78
commit
b751a35337
|
@ -16,6 +16,20 @@ build linux:
|
||||||
paths:
|
paths:
|
||||||
- linux
|
- linux
|
||||||
expire_in: 1 day
|
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:
|
package:
|
||||||
stage: package
|
stage: package
|
||||||
|
@ -24,6 +38,7 @@ package:
|
||||||
- cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib
|
- cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib
|
||||||
- mkdir -p godot-tts/target/release
|
- mkdir -p godot-tts/target/release
|
||||||
- cp linux/release/*.so 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 LICENSE godot-tts
|
||||||
- cp TTS.gd godot-tts.g* godot-tts
|
- cp TTS.gd godot-tts.g* godot-tts
|
||||||
- cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib
|
- cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib
|
||||||
|
@ -33,6 +48,8 @@ package:
|
||||||
paths:
|
paths:
|
||||||
- godot-tts
|
- godot-tts
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
|
tags:
|
||||||
|
- linux
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
stage: publish
|
stage: publish
|
||||||
|
@ -44,3 +61,5 @@ publish:
|
||||||
- godot-tts
|
- godot-tts
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
tags:
|
||||||
|
- linux
|
||||||
|
|
Loading…
Reference in New Issue
Block a user