only use check instead of build for CI/CD

This commit is contained in:
Robin Müller 2021-12-06 13:10:13 +01:00
parent 6a8c58bfce
commit 002b277ae2
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ pipeline {
sh 'cargo fmt'
}
}
stage('Build') {
stage('Check') {
agent {
dockerfile {
dir 'automation'
@ -32,7 +32,7 @@ pipeline {
}
}
steps {
sh 'cargo build'
sh 'cargo check --target thumbv6m-none-eabi'
}
}
}