File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 17
17
needs :
18
18
- build
19
19
- test-with-sanitizer
20
+ - test-big-endian
20
21
steps :
21
22
- name : mark the job as a success or failure
22
23
run : exit 0
@@ -104,10 +105,11 @@ jobs:
104
105
steps :
105
106
- uses : actions/checkout@v2
106
107
- name : Install nightly Rust
107
- run : rustup override set nightly
108
- - name : Test with Address Sanitizer
109
108
run : |
109
+ rustup override set nightly
110
110
rustup component add rust-src --toolchain nightly
111
+ - name : Test with Address Sanitizer
112
+ run : |
111
113
cargo clean
112
114
export RUSTFLAGS=-Zsanitizer=address
113
115
export RUSTDOCFLAGS=-Zsanitizer=address
@@ -117,3 +119,19 @@ jobs:
117
119
export RUSTDOCFLAGS='-Zsanitizer=memory -Zsanitizer-memory-track-origins'
118
120
cargo test -Zbuild-std --target x86_64-unknown-linux-gnu --verbose --features=${{ matrix.features }}
119
121
122
+ test-big-endian :
123
+ runs-on : ubuntu-latest
124
+
125
+ steps :
126
+ - uses : actions/checkout@v2
127
+ - name : Install nightly Rust
128
+ run : |
129
+ rustup toolchain install nightly --allow-downgrade -c miri --profile minimal
130
+ rustup default nightly
131
+ - name : Run Big Endian Test via Miri
132
+ # We only run a subset of tests because Miri is too slow for running everything
133
+ run : |
134
+ cargo miri test --target mips64-unknown-linux-gnuabi64 -- \
135
+ --skip raw_table \
136
+ --skip init_in_place \
137
+ --skip quickchecks
You can’t perform that action at this time.
0 commit comments