Mutzi
21b30a441f
Some checks failed
Gitea Organization/dotfiles/pipeline/head There was a failure building this commit
18 lines
495 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
} |