Commit 18106d7d authored by Éloïs's avatar Éloïs

[ci] use nightly toolchain

parent 68e22b48
......@@ -7,10 +7,10 @@ stages:
variables:
CARGO_HOME: $CI_PROJECT_DIR/cargo
.rust_stable_wasm: &rust_stable_wasm
image: registry.duniter.org/docker/rust/wasm:v0.0.2
.rust_nightly_wasm: &rust_nightly_wasm
image: registry.duniter.org/docker/rust/wasm:v0.0.3
tags:
- redshift-rs-stable
- redshift-rs-nightly
before_script:
- export PATH="$HOME/.cargo/bin:$PATH"
- rustc --version && cargo --version
......@@ -34,11 +34,9 @@ fmt:
- cargo fmt -- --check
allow_failure: true
tests:wasm:stable:
<<: *rust_stable_wasm
tests:wasm:nightly:
<<: *rust_nightly_wasm
stage: tests
tags:
- redshift-rs-stable
script:
- wasm-pack build
- wasm-pack test --headless --firefox
......@@ -56,9 +54,7 @@ clippy:
allow_failure: true
publish:npm:
<<: *rust_stable_wasm
<<: *rust_nightly_wasm
stage: publish
tags:
- redshift-rs-stable
script:
- wasm-pack publish
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment