mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
no longer incremental builds in CI
This commit is contained in:
parent
07c044f2e5
commit
b3983c5451
@ -1,4 +1,2 @@
|
||||
#!/bin/bash
|
||||
rm -r target/release/incremental/veloren_* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
|
||||
rm -r target/release/incremental/* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
|
||||
time cargo bench
|
@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
rm -r target/debug/incremental/* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
|
||||
time cargo clippy --all-targets --locked --features="bin_compression,bin_csv,bin_graphviz,bin_bot,asset_tweak" -- -D warnings &&
|
||||
# Ensure that the veloren-voxygen default-publish feature builds as it excludes some default features
|
||||
time cargo clippy -p veloren-voxygen --locked --no-default-features --features="default-publish" -- -D warnings &&
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
echo "modifying files in 5s, ctrl+c to abort" && sleep 5
|
||||
rm -r target/debug/incremental/veloren_* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
|
||||
find ./* -name "Cargo.toml" -exec sed -i 's/, "simd"]/]/g' {} \;
|
||||
find ./* -name "Cargo.toml" -exec sed -i 's/"simd"]/]/g' {} \;
|
||||
sed -i 's/vek /#vek /g' ./Cargo.toml;
|
||||
|
@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
rm -r target/release/incremental/veloren_* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
|
||||
export VELOREN_USERDATA_STRATEGY=executable
|
||||
time cargo build --release --no-default-features --features default-publish &&
|
||||
time cargo build --release -p veloren-server-cli
|
||||
|
@ -1,7 +1,5 @@
|
||||
#!/bin/bash
|
||||
export VELOREN_ASSETS="$(pwd)/assets"
|
||||
rm -r target/debug/incremental/veloren_* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
|
||||
time cargo test --package veloren-i18n --lib test_all_localizations -- --nocapture --ignored &&
|
||||
time cargo test --package veloren-common-assets asset_tweak::tests --features asset_tweak --lib &&
|
||||
( rm -r target/debug/incremental* || echo "all good" ) && # TMP FIX FOR 2021-03-22-nightly
|
||||
time cargo test
|
@ -1,7 +1,6 @@
|
||||
#!/bin/bash
|
||||
update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
|
||||
update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
|
||||
rm -r target/release/incremental/veloren_* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
|
||||
export VELOREN_USERDATA_STRATEGY=executable
|
||||
time cargo build --target=x86_64-pc-windows-gnu --release --no-default-features --features default-publish &&
|
||||
time cargo build --target=x86_64-pc-windows-gnu --release -p veloren-server-cli
|
Loading…
Reference in New Issue
Block a user