dotfiles/Jenkinsfile
Mutzi 9798dfe5cb
All checks were successful
Gitea Organization/dotfiles/pipeline/head This commit looks good
Testing with Jenkins
2023-02-11 13:02:39 +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'
}
}
}
}