mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Remove deletion of incremental folder from the CI scripts, the rustc incremental issue should be fixed
This commit is contained in:
parent
6e168f186b
commit
79128e1e4b
@ -1,4 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
rm -r target/release/incremental/veloren_* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
|
time cargo bench
|
||||||
rm -r target/release/incremental/* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
|
|
||||||
time cargo bench
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/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_cmd_doc_gen,bin_compression,bin_csv,bin_graphviz,bin_bot,asset_tweak" -- -D warnings &&
|
time cargo clippy --all-targets --locked --features="bin_cmd_doc_gen,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
|
# 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 &&
|
time cargo clippy -p veloren-voxygen --locked --no-default-features --features="default-publish" -- -D warnings &&
|
||||||
time cargo fmt --all -- --check
|
time cargo fmt --all -- --check
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "modifying files in 5s, ctrl+c to abort" && sleep 5
|
echo "modifying files in 5s, ctrl+c to abort" && sleep 5
|
||||||
rm -r target/debug/incremental/* || 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' {} \;
|
||||||
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;
|
sed -i 's/vek /#vek /g' ./Cargo.toml;
|
||||||
export VELOREN_ASSETS="$(pwd)/assets";
|
export VELOREN_ASSETS="$(pwd)/assets";
|
||||||
time cargo tarpaulin --skip-clean -v -- --test-threads=2;
|
time cargo tarpaulin --skip-clean -v -- --test-threads=2;
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
export DISABLE_GIT_LFS_CHECK=true
|
export DISABLE_GIT_LFS_CHECK=true
|
||||||
export VELOREN_ASSETS="assets"
|
export VELOREN_ASSETS="assets"
|
||||||
export RUSTFLAGS="-D warnings"
|
export RUSTFLAGS="-D warnings"
|
||||||
export SHADERC_LIB_DIR=/shaderc/combined/
|
export SHADERC_LIB_DIR=/shaderc/combined/
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
rm -r target/release/incremental/veloren_* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
|
|
||||||
export VELOREN_USERDATA_STRATEGY=executable
|
export VELOREN_USERDATA_STRATEGY=executable
|
||||||
time cargo build --release --no-default-features --features default-publish
|
time cargo build --release --no-default-features --features default-publish
|
||||||
# eveluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)
|
# eveluate --bin instead, last time i checked (2021-07-14) it was 2 minutes slower on release (but faster on debug)
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export VELOREN_ASSETS="$(pwd)/assets"
|
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-voxygen-i18n --lib test_all_localizations -- --nocapture --ignored
|
||||||
time cargo test --package veloren-voxygen-i18n --lib test_all_localizations -- --nocapture --ignored
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export VELOREN_ASSETS="$(pwd)/assets"
|
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-common-assets asset_tweak::tests --features asset_tweak --lib &&
|
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
|
||||||
time cargo test
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/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-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
|
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
|
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 --no-default-features --features default-publish
|
||||||
|
Loading…
Reference in New Issue
Block a user