Skip to content
Snippets Groups Projects

Execute build and tests in all toolchains

Merged Éloïs requested to merge ci into dev
+ 27
4
@@ -6,22 +6,43 @@ stages:
@@ -6,22 +6,43 @@ stages:
before_script:
before_script:
- export PATH="$HOME/.cargo/bin:$PATH"
- export PATH="$HOME/.cargo/bin:$PATH"
builds:
build:stable:
stage: builds
stage: builds
tags:
tags:
- redshift-rs
- redshift-rs-stable
script:
script:
- cargo build
- cargo build
tests:
tests:stable:
stage: tests
stage: tests
tags:
tags:
- redshift-rs
- redshift-rs-stable
script:
script:
- cargo test
- cargo test
 
build_and_tests:beta:
 
stage: tests
 
tags:
 
- redshift-rs-beta
 
script:
 
- rustup update
 
- cargo test
 
when: manual
 
allow_failure: true
 
 
build_and_tests:nightly:
 
stage: tests
 
tags:
 
- redshift-rs-nightly
 
script:
 
- rustup update
 
- cargo test
 
when: manual
 
allow_failure: true
 
fmt:
fmt:
stage: fmt
stage: fmt
 
image: scorpil/rust/nightly-onbuild
tags:
tags:
- redshift-rs-nightly
- redshift-rs-nightly
before_script:
before_script:
@@ -29,3 +50,5 @@ fmt:
@@ -29,3 +50,5 @@ fmt:
- cargo install --force rustfmt-nightly
- cargo install --force rustfmt-nightly
script:
script:
- cargo fmt -- --write-mode=diff
- cargo fmt -- --write-mode=diff
 
allow_failure: true
 
Loading