Run tests in the debug build.
Cargo has started failing to build the tests in the release configuration because tests must have panic=unwind, while the release profile is configured with panic=abort
This commit is contained in:
parent
995737ff44
commit
fc3bd0992a
1 changed files with 1 additions and 1 deletions
|
@ -14,8 +14,8 @@ before_install:
|
|||
|
||||
script:
|
||||
- rustup target add x86_64-unknown-linux-musl
|
||||
- cargo test --target=x86_64-unknown-linux-musl
|
||||
- cargo build --release --target=x86_64-unknown-linux-musl
|
||||
- cargo test --release --target=x86_64-unknown-linux-musl
|
||||
- strip -s target/x86_64-unknown-linux-musl/release/sausagewiki
|
||||
- XZ_OPT=-9 tar Jcf sausagewiki.tar.xz -C target/x86_64-unknown-linux-musl/release/ sausagewiki
|
||||
|
||||
|
|
Loading…
Reference in a new issue