try cross-compilation in docker
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
3e80dd314a
commit
8f20b1962c
@ -10,4 +10,4 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
# set CROSS_CONTAINER_IN_CONTAINER to inform `cross` that it is executed from within a container
|
# set CROSS_CONTAINER_IN_CONTAINER to inform `cross` that it is executed from within a container
|
||||||
ENV CROSS_CONTAINER_IN_CONTAINER=true
|
ENV CROSS_CONTAINER_IN_CONTAINER=true
|
||||||
|
|
||||||
RUN rustup component add rustfmt clippy
|
RUN rustup component add rustfmt clippy cargo && cargo install cross
|
||||||
|
5
automation/Jenkinsfile
vendored
5
automation/Jenkinsfile
vendored
@ -28,5 +28,10 @@ pipeline {
|
|||||||
sh 'cargo check'
|
sh 'cargo check'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Check Cross') {
|
||||||
|
steps {
|
||||||
|
sh 'cross check --target thumbv7em-none-eabihf --no-default-features'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user