diff --git a/automation/Dockerfile b/automation/Dockerfile index 69b3cc7..6602c3e 100644 --- a/automation/Dockerfile +++ b/automation/Dockerfile @@ -10,4 +10,4 @@ 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 rustup component add rustfmt clippy cargo && cargo install cross diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index c4cec62..70a24db 100644 --- a/automation/Jenkinsfile +++ b/automation/Jenkinsfile @@ -28,5 +28,10 @@ pipeline { sh 'cargo check' } } + stage('Check Cross') { + steps { + sh 'cross check --target thumbv7em-none-eabihf --no-default-features' + } + } } }