dotfiles/Jenkinsfile
Mutzi 21b30a441f
Some checks failed
Gitea Organization/dotfiles/pipeline/head There was a failure building this commit
Testing with Jenkins
2023-02-11 12:44:02 +01:00

18 lines
495 B
Groovy

pipeline {
agent none
stages {
stage('Build') {
agent {
docker { image 'rust:alpine' }
}
environment {
RUSTFLAGS = '-C target-feature=+crt-static -C link-self-contained=yes -C link-arg=-s'
}
steps {
sh 'apk add pkgconf musl-dev curl'
sh 'cargo build --release --target x86_64-unknown-linux-musl'
sh 'ls -la'
}
}
}
}