added test stage in jenkinsfile
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
This commit is contained in:
parent
388a8ba616
commit
41fa073c74
@ -7,4 +7,8 @@ RUN apt-get --yes upgrade
|
||||
# tzdata is a dependency, won't install otherwise
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# set CROSS_CONTAINER_IN_CONTAINER to inform `cross` that it is executed from within a container
|
||||
ENV CROSS_CONTAINER_IN_CONTAINER=true
|
||||
|
||||
RUN rustup component add rustfmt clippy
|
||||
RUN cargo install cross
|
||||
|
11
automation/Jenkinsfile
vendored
11
automation/Jenkinsfile
vendored
@ -24,6 +24,17 @@ pipeline {
|
||||
sh 'cargo fmt'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
agent {
|
||||
dockerfile {
|
||||
dir 'automation'
|
||||
reuseNode true
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'cargo check'
|
||||
}
|
||||
}
|
||||
stage('Check') {
|
||||
agent {
|
||||
dockerfile {
|
||||
|
Loading…
Reference in New Issue
Block a user