mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-25 15:03:34 +00:00
some tweaks for faster builds
This commit is contained in:
parent
b673d5a33d
commit
7f35dbf19e
|
@ -53,6 +53,7 @@ for:
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- set DRS_BUILD_VERSION_OVERRIDE=%APPVEYOR_BUILD_VERSION%
|
- set DRS_BUILD_VERSION_OVERRIDE=%APPVEYOR_BUILD_VERSION%
|
||||||
|
- set CARGO_INCREMENTAL=1
|
||||||
- cargo build --release --bin doukutsu-rs
|
- cargo build --release --bin doukutsu-rs
|
||||||
- mkdir release
|
- mkdir release
|
||||||
- copy LICENSE release\LICENSE
|
- copy LICENSE release\LICENSE
|
||||||
|
@ -88,7 +89,7 @@ for:
|
||||||
- appveyor DownloadFile https://github.com/doukutsu-rs/game-data/archive/master.zip -FileName ../game-data.zip
|
- appveyor DownloadFile https://github.com/doukutsu-rs/game-data/archive/master.zip -FileName ../game-data.zip
|
||||||
- 7z x ../game-data.zip
|
- 7z x ../game-data.zip
|
||||||
- mv game-data-master data
|
- mv game-data-master data
|
||||||
- cargo bundle --release
|
- CARGO_INCREMENTAL=1 cargo bundle --release
|
||||||
- mkdir release
|
- mkdir release
|
||||||
- cp LICENSE ./release/LICENSE
|
- cp LICENSE ./release/LICENSE
|
||||||
- cp -a target/release/bundle/osx/doukutsu-rs.app ./release/doukutsu-rs.app
|
- cp -a target/release/bundle/osx/doukutsu-rs.app ./release/doukutsu-rs.app
|
||||||
|
@ -120,7 +121,7 @@ for:
|
||||||
- appveyor DownloadFile https://github.com/doukutsu-rs/game-data/archive/master.zip -FileName ../game-data.zip
|
- appveyor DownloadFile https://github.com/doukutsu-rs/game-data/archive/master.zip -FileName ../game-data.zip
|
||||||
- 7z x ../game-data.zip
|
- 7z x ../game-data.zip
|
||||||
- mv game-data-master data
|
- mv game-data-master data
|
||||||
- cargo build --release --bin doukutsu-rs
|
- RUSTFLAGS="-C link-args=-fuse-ld=lld" CARGO_INCREMENTAL=1 cargo build --release --bin doukutsu-rs
|
||||||
- mkdir release
|
- mkdir release
|
||||||
- cp LICENSE ./release/LICENSE
|
- cp LICENSE ./release/LICENSE
|
||||||
- cp -a target/release/doukutsu-rs ./release/doukutsu-rs.x86_64.elf
|
- cp -a target/release/doukutsu-rs ./release/doukutsu-rs.x86_64.elf
|
||||||
|
|
Loading…
Reference in a new issue