ci: use Nix shell for Linux library builds
Just noticed that was the only one not using it. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
fb36298e37
commit
22bc76c39f
|
@ -1,4 +1,4 @@
|
|||
library 'status-jenkins-lib@v1.6.7'
|
||||
library 'status-jenkins-lib@v1.7.0'
|
||||
|
||||
pipeline {
|
||||
agent { label 'linux' }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
library 'status-jenkins-lib@v1.6.7'
|
||||
library 'status-jenkins-lib@v1.7.0'
|
||||
|
||||
pipeline {
|
||||
agent { label 'linux && x86_64' }
|
||||
agent { label 'linux && x86_64 && nix-2.11' }
|
||||
|
||||
parameters {
|
||||
string(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
library 'status-jenkins-lib@v1.6.7'
|
||||
library 'status-jenkins-lib@v1.7.0'
|
||||
|
||||
pipeline {
|
||||
agent { label 'linux' }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
library 'status-jenkins-lib@v1.6.7'
|
||||
library 'status-jenkins-lib@v1.7.0'
|
||||
|
||||
pipeline {
|
||||
agent { label 'macos && aarch64 && go-1.18 && nix-2.11' }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
library 'status-jenkins-lib@v1.6.7'
|
||||
library 'status-jenkins-lib@v1.7.0'
|
||||
|
||||
pipeline {
|
||||
agent { label 'linux && x86_64 && go-1.18' }
|
||||
agent { label 'linux && x86_64 && nix-2.11' }
|
||||
|
||||
parameters {
|
||||
string(
|
||||
|
@ -44,10 +44,16 @@ pipeline {
|
|||
}
|
||||
|
||||
/* Sanity-check C bindings */
|
||||
stage('Bindings Check') {
|
||||
steps {
|
||||
sh 'make statusgo-library'
|
||||
}
|
||||
stage('Build Static Lib') {
|
||||
steps { script {
|
||||
nix.shell('make statusgo-library', pure: false)
|
||||
} }
|
||||
}
|
||||
|
||||
stage('Build Shared Lib') {
|
||||
steps { script {
|
||||
nix.shell('make statusgo-shared-library', pure: false)
|
||||
} }
|
||||
}
|
||||
|
||||
stage('Archive') {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
library 'status-jenkins-lib@v1.6.7'
|
||||
library 'status-jenkins-lib@v1.7.0'
|
||||
|
||||
pipeline {
|
||||
agent { label 'linux && x86_64 && go-1.18' }
|
||||
agent { label 'linux && x86_64 && nix-2.11' }
|
||||
|
||||
parameters {
|
||||
string(
|
||||
|
|
Loading…
Reference in New Issue