File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 33
33
run : sudo apt-get install libopenblas-dev gfortran
34
34
- run : ./scripts/all-tests.sh "$FEATURES" ${{ matrix.rust }}
35
35
36
+ cross_test :
37
+ runs-on : ubuntu-latest
38
+ strategy :
39
+ matrix :
40
+ include :
41
+ - rust : stable
42
+ target : mips-unknown-linux-gnu
43
+ - rust : stable
44
+ target : i686-unknown-linux-gnu
45
+
46
+ steps :
47
+ - uses : actions/checkout@v2
48
+ - uses : actions-rs/toolchain@v1
49
+ with :
50
+ profile : minimal
51
+ toolchain : ${{ matrix.rust }}
52
+ taret : ${{ matrix.target }}
53
+ override : true
54
+ - name : Cache cargo plugins
55
+ uses : actions/cache@v1
56
+ with :
57
+ path : ~/.cargo/bin/
58
+ key : ${{ runner.os }}-cargo-plugins
59
+ - name : Install cross
60
+ run : cargo install cross || true
61
+ - run : ./scripts/cross-tests.sh "docs" ${{ matrix.rust }} ${{ matrix.target }}
62
+
36
63
clippy :
37
64
runs-on : ubuntu-latest
38
65
strategy :
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ set -x
4
+ set -e
5
+
6
+ FEATURES=$1
7
+ CHANNEL=$2
8
+ TARGET=$3
9
+
10
+ cross build -v --features=" $FEATURES " --target=$TARGET
11
+ cross test -v --no-fail-fast --features=" $FEATURES " --target=$TARGET
12
+ cross test -v --no-fail-fast --target=$TARGET --manifest-path=ndarray-rand/Cargo.toml --features quickcheck
13
+ cross test -v --no-fail-fast --target=$TARGET --manifest-path=serialization-tests/Cargo.toml --verbose
14
+ CARGO_TARGET_DIR=target/ cross test -v --no-fail-fast --target=$TARGET --manifest-path=numeric-tests/Cargo.toml
You can’t perform that action at this time.
0 commit comments