1919 install :
2020 - rustup target add aarch64-apple-ios
2121 script :
22- - cargo test --package getrandom --package cpurand- getrandom --tests
22+ - cargo test --package getrandom --package getrandom-cpu --tests
2323 - cargo build --target aarch64-apple-ios
2424
2525 - name : " Linux, beta"
@@ -67,16 +67,16 @@ jobs:
6767 - cargo web test --target asmjs-unknown-emscripten --no-run
6868 - cargo test --target wasm32-wasi
6969 # stdweb (wasm32-unknown-unknown) tests (Node, Chrome)
70- - cargo web test --package stdweb- getrandom
71- - cargo web test --package stdweb- getrandom --nodejs
70+ - cargo web test --package getrandom-stdweb
71+ - cargo web test --package getrandom-stdweb --nodejs
7272 # wasm-bindgen (wasm32-unknown-unknown) tests (Node, Firefox, Chrome)
73- - cargo test --package wasm-bindgen-getrandom
73+ - cargo test --package getrandom- wasm-bindgen
7474 --target wasm32-unknown-unknown --test node
7575 - GECKODRIVER=$HOME/geckodriver
76- cargo test --package wasm-bindgen-getrandom
76+ cargo test --package getrandom- wasm-bindgen
7777 --target wasm32-unknown-unknown --test web
7878 - CHROMEDRIVER=$HOME/chromedriver
79- cargo test --package wasm-bindgen-getrandom
79+ cargo test --package getrandom- wasm-bindgen
8080 --target wasm32-unknown-unknown --test web
8181
8282 - &nightly_and_docs
@@ -93,13 +93,13 @@ jobs:
9393 # remove cached documentation, otherwise files from previous PRs can get included
9494 - rm -rf target/doc
9595 - cargo doc --no-deps --features=std,custom
96- - cargo doc --no-deps --package cpurand- getrandom
97- - cargo doc --no-deps --package wasm-bindgen-getrandom --target=wasm32-unknown-unknown
96+ - cargo doc --no-deps --package getrandom-cpu
97+ - cargo doc --no-deps --package getrandom- wasm-bindgen --target=wasm32-unknown-unknown
9898 - cargo deadlinks --dir target/doc
9999 # Check that our tests pass in the default/minimal configuration
100- - cargo test --package getrandom --package cpurand- getrandom --tests --benches
100+ - cargo test --package getrandom --package getrandom-cpu --tests --benches
101101 - cargo generate-lockfile -Z minimal-versions
102- - cargo test --package getrandom --package cpurand- getrandom --tests --benches
102+ - cargo test --package getrandom --package getrandom-cpu --tests --benches
103103
104104 - << : *nightly_and_docs
105105 name : " OSX, nightly, docs"
@@ -132,18 +132,18 @@ jobs:
132132 # As all of the targets here are x86, it is enough to test that
133133 # getrandom and getrandom-cpu build for all x86 targets.
134134 - for TARGET in ${STD_TARGETS[@]}; do
135- cargo build --package cpurand- getrandom --target $TARGET;
135+ cargo build --package getrandom-cpu --target $TARGET;
136136 done
137137 - for TARGET in ${NO_STD_TARGETS[@]}; do
138- cargo xbuild --package cpurand- getrandom --target $TARGET;
138+ cargo xbuild --package getrandom-cpu --target $TARGET;
139139 done
140140 # Also check that minimum versions build
141141 - cargo generate-lockfile -Z minimal-versions
142142 - for TARGET in ${STD_TARGETS[@]}; do
143- cargo build --package cpurand- getrandom --target $TARGET;
143+ cargo build --package getrandom-cpu --target $TARGET;
144144 done
145145 - for TARGET in ${NO_STD_TARGETS[@]}; do
146- cargo xbuild --package cpurand- getrandom --target $TARGET;
146+ cargo xbuild --package getrandom-cpu --target $TARGET;
147147 done
148148
149149 # Trust cross-built/emulated targets. We must repeat all non-default values.
@@ -188,7 +188,7 @@ before_script:
188188 - export RUSTFLAGS="-D warnings"
189189
190190script :
191- - cargo test --package getrandom --package cpurand- getrandom --tests
191+ - cargo test --package getrandom --package getrandom-cpu --tests
192192
193193after_script : set +e
194194
0 commit comments