diff --git a/automation/Dockerfile b/automation/Dockerfile index 8151ed2..991ea99 100644 --- a/automation/Dockerfile +++ b/automation/Dockerfile @@ -10,5 +10,6 @@ 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 target add thumbv7em-none-eabi && \ +# TODO: installing cross is problematic, permission issues +RUN rustup target add thumbv7em-none-eabihf armv7-unknown-linux-gnueabihf && \ rustup component add rustfmt clippy diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index f44b83d..65fc15f 100644 --- a/automation/Jenkinsfile +++ b/automation/Jenkinsfile @@ -28,10 +28,15 @@ pipeline { sh 'cargo check' } } - stage('Check Cross') { + stage('Check Cross Embedded Bare Metal') { steps { sh 'cargo check --target thumbv7em-none-eabihf --no-default-features' } } + stage('Check Cross Embedded Linux') { + steps { + sh 'cargo check --target armv7-unknown-linux-gnueabihf' + } + } } }