Reformat.

This commit is contained in:
Nolan Darilek 2020-03-27 07:53:05 -05:00
parent b3fba41012
commit 6b4463471f

View File

@ -7,63 +7,63 @@ build linux:
stage: build stage: build
image: rust image: rust
script: script:
- apt-get update - apt-get update
- apt-get install -y libclang-3.9-dev libspeechd-dev - apt-get install -y libclang-3.9-dev libspeechd-dev
- export CPATH=/usr/lib/llvm-3.9/lib/clang/3.9.1/include/ - export CPATH=/usr/lib/llvm-3.9/lib/clang/3.9.1/include/
- cargo build --release - cargo build --release
- mv target linux - mv target linux
artifacts: artifacts:
paths: paths:
- linux - linux
expire_in: 1 day expire_in: 1 day
tags: tags:
- linux - linux
build windows: build windows:
stage: build stage: build
script: script:
- choco install -y llvm rust-ms - choco install -y llvm rust-ms
- systeminfo - systeminfo
- cargo build --release --target x86_64-pc-windows-msvc - cargo build --release --target x86_64-pc-windows-msvc
- move target windows - move target windows
artifacts: artifacts:
paths: paths:
- windows - windows
expire_in: 1 day expire_in: 1 day
tags: tags:
- shared-windows - shared-windows
- windows - windows
- windows-1809 - windows-1809
package: package:
stage: package stage: package
script: script:
- mkdir godot-tts - mkdir godot-tts
- 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 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
- rm godot-tts/*.release - rm godot-tts/*.release
artifacts: artifacts:
name: godot-tts name: godot-tts
paths: paths:
- godot-tts - godot-tts
expire_in: 1 day expire_in: 1 day
tags: tags:
- linux - linux
publish: publish:
stage: publish stage: publish
script: script:
- echo Publishing... - echo Publishing...
artifacts: artifacts:
name: godot-tts name: godot-tts
paths: paths:
- godot-tts - godot-tts
only: only:
- tags - tags
tags: tags:
- linux - linux