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