File tree 1 file changed +29
-0
lines changed 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -39,3 +39,32 @@ mv Cargo-zng.toml Cargo.toml
39
39
mv systest/Cargo-zng.toml systest/Cargo.toml
40
40
$CROSS test --target $TARGET_TRIPLE
41
41
$CROSS run --target $TARGET_TRIPLE --manifest-path systest/Cargo.toml
42
+
43
+ echo === flate2 validation ===
44
+ git clone https://github.com/rust-lang/flate2-rs flate2
45
+ git worktree add flate2/libz-sys
46
+ git worktree add flate2/libz-ng-sys
47
+
48
+ cd flate2
49
+ (cd libz-sys
50
+ git submodule update --init
51
+ )
52
+ (cd libz-ng-sys
53
+ git submodule update --init
54
+ mv systest/Cargo-zng.toml systest/Cargo.toml
55
+ mv Cargo-zng.toml Cargo.toml
56
+ )
57
+
58
+ echo " [workspace]" >> Cargo.toml
59
+ mkdir .cargo
60
+ cat << EOF >.cargo/config.toml
61
+ [patch."crates-io"]
62
+ libz-sys = { path = "./libz-sys" }
63
+ libz-ng-sys = { path = "./libz-ng-sys" }
64
+ EOF
65
+
66
+ set -x
67
+ $CROSS test --features zlib --target $TARGET_TRIPLE
68
+ $CROSS test --features zlib-default --no-default-features --target $TARGET_TRIPLE
69
+ $CROSS test --features zlib-ng --no-default-features --target $TARGET_TRIPLE
70
+ $CROSS test --features zlib-ng-compat --no-default-features --target $TARGET_TRIPLE
You can’t perform that action at this time.
0 commit comments