You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1794: Reenable cargo-hack in CI r=rtzoeller a=asomers
But instead of building it from source, download pre-built binaries.
Co-authored-by: Alan Somers <asomers@gmail.com>
- if [ -z "$NOHACK" ]; then $TOOL +$TOOLCHAIN install --version 0.5.14 cargo-hack; fi
24
+
- if [ -z "$NOHACK" ]; then mkdir -p $HOME/.cargo/bin; export PATH=$HOME/.cargo/bin:$PATH; fi
25
+
- if [ -z "$NOHACK" ]; then curl -LsSf https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-${HOST:-$TARGET}.tar.gz | tar xzf - -C ~/.cargo/bin; fi
28
26
- if [ -z "$NOHACK" ]; then $TOOL +$TOOLCHAIN hack $ZFLAGS check --target $TARGET --each-feature; fi
29
27
30
28
# Tests that do require executing the binaries
@@ -92,6 +90,7 @@ task:
92
90
env:
93
91
RUST_TEST_THREADS: 1# QEMU works best with 1 thread
94
92
HOME: /tmp/home
93
+
HOST: x86_64-unknown-linux-gnu
95
94
PATH: $HOME/.cargo/bin:$PATH
96
95
RUSTFLAGS: --cfg qemu -D warnings
97
96
TOOL: cross
@@ -187,6 +186,7 @@ task:
187
186
image: rust:1.46
188
187
env:
189
188
BUILD: check
189
+
HOST: x86_64-unknown-linux-gnu
190
190
matrix:
191
191
# Cross claims to support Android, but when it tries to run Nix's tests it
192
192
# reports undefined symbol references.
@@ -276,6 +276,7 @@ task:
276
276
BUILD: check
277
277
name: Redox x86_64
278
278
env:
279
+
HOST: x86_64-unknown-linux-gnu
279
280
TARGET: x86_64-unknown-redox
280
281
# Redox's MSRV policy is unclear. Until they define it, use nightly.
0 commit comments