ci: jenkinsfile pt. 2
This commit is contained in:
parent
2ee8809c7b
commit
9749ee71b8
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -1,12 +1,14 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent any
|
||||||
docker {
|
|
||||||
reuseNode true
|
|
||||||
image 'stagex/zig:0.13.0'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stages {
|
stages {
|
||||||
stage('Build binary with JSON flag') {
|
stage('Build binary with JSON flag') {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
reuseNode true
|
||||||
|
image 'stagex/zig:0.13.0'
|
||||||
|
}
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'zig build -Djson=true -Doptimize=ReleaseSmall'
|
sh 'zig build -Djson=true -Doptimize=ReleaseSmall'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user