try cross-compilation in docker
Rust/spacepackets/pipeline/head There was a failure building this commit Details

This commit is contained in:
Robin Müller 2022-08-16 10:28:06 +02:00
parent 3e80dd314a
commit 8f20b1962c
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -28,5 +28,10 @@ pipeline {
sh 'cargo check'
}
}
stage('Check Cross') {
steps {
sh 'cross check --target thumbv7em-none-eabihf --no-default-features'
}
}
}
}