Testing with Jenkins
Some checks failed
Gitea Organization/dotfiles/pipeline/head There was a failure building this commit
Some checks failed
Gitea Organization/dotfiles/pipeline/head There was a failure building this commit
This commit is contained in:
parent
ff18cd16ce
commit
21b30a441f
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -5,8 +5,12 @@ pipeline {
|
|||||||
agent {
|
agent {
|
||||||
docker { image 'rust:alpine' }
|
docker { image 'rust:alpine' }
|
||||||
}
|
}
|
||||||
|
environment {
|
||||||
|
RUSTFLAGS = '-C target-feature=+crt-static -C link-self-contained=yes -C link-arg=-s'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'cargo build --release'
|
sh 'apk add pkgconf musl-dev curl'
|
||||||
|
sh 'cargo build --release --target x86_64-unknown-linux-musl'
|
||||||
sh 'ls -la'
|
sh 'ls -la'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user