mirror of
https://github.com/status-im/nim-codex.git
synced 2025-01-23 09:09:23 +00:00
893f6d02ab
Referenced issue: https://github.com/codex-storage/nim-codex/issues/940 Signed-off-by: markoburcul <marko@status.im>
38 lines
584 B
Groovy
38 lines
584 B
Groovy
#!/usr/bin/env groovy
|
|
library 'status-jenkins-lib@v1.9.13'
|
|
|
|
pipeline {
|
|
agent { label 'linux && x86_64 && nix-2.24' }
|
|
|
|
options {
|
|
disableConcurrentBuilds()
|
|
/* manage how many builds we keep */
|
|
buildDiscarder(logRotator(
|
|
numToKeepStr: '20',
|
|
daysToKeepStr: '30',
|
|
))
|
|
}
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
script {
|
|
nix.flake("default")
|
|
}
|
|
}
|
|
}
|
|
|
|
stage('Check') {
|
|
steps {
|
|
script {
|
|
sh './result/bin/codex --version'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
post {
|
|
cleanup { cleanWs() }
|
|
}
|
|
}
|