mirror of
https://github.com/waku-org/nwaku.git
synced 2025-02-12 23:16:39 +00:00
deploy: eba17319e81f67ef17148cabd7d7961ea4ec1782
This commit is contained in:
parent
bf39d709b5
commit
9448893b96
@ -1,4 +1,4 @@
|
|||||||
library 'status-jenkins-lib@v1.2.18'
|
library 'status-jenkins-lib@v1.6.0'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label "${getAgentLabel()} && x86_64" }
|
agent { label "${getAgentLabel()} && x86_64" }
|
||||||
@ -53,19 +53,23 @@ pipeline {
|
|||||||
v1changed = versionWasChanged('v1')
|
v1changed = versionWasChanged('v1')
|
||||||
v2changed = versionWasChanged('v2')
|
v2changed = versionWasChanged('v2')
|
||||||
/* TODO: Re-add caching of Nim compiler. */
|
/* TODO: Re-add caching of Nim compiler. */
|
||||||
sh "make V=${params.VERBOSITY} update"
|
nix.shell("make V=${params.VERBOSITY} update", pure: false)
|
||||||
sh "make V=${params.VERBOSITY} deps"
|
nix.shell("make V=${params.VERBOSITY} deps", pure: false)
|
||||||
} } }
|
} } }
|
||||||
|
|
||||||
stage('Binaries') {
|
stage('Binaries') {
|
||||||
parallel {
|
parallel {
|
||||||
stage('V1') {
|
stage('V1') {
|
||||||
when { expression { v1changed } }
|
when { expression { v1changed } }
|
||||||
steps { sh "make V=${params.VERBOSITY} v1" }
|
steps { script {
|
||||||
|
nix.shell("make V=${params.VERBOSITY} v1")
|
||||||
|
} }
|
||||||
}
|
}
|
||||||
stage('V2') {
|
stage('V2') {
|
||||||
when { expression { v2changed } }
|
when { expression { v2changed } }
|
||||||
steps { sh "make V=${params.VERBOSITY} v2" }
|
steps { script {
|
||||||
|
nix.shell("make V=${params.VERBOSITY} v2")
|
||||||
|
} }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -74,11 +78,15 @@ pipeline {
|
|||||||
parallel {
|
parallel {
|
||||||
stage('V1') {
|
stage('V1') {
|
||||||
when { expression { v1changed } }
|
when { expression { v1changed } }
|
||||||
steps { sh "make V=${params.VERBOSITY} test1" }
|
steps { script {
|
||||||
|
nix.shell("make V=${params.VERBOSITY} test1")
|
||||||
|
} }
|
||||||
}
|
}
|
||||||
stage('V2') {
|
stage('V2') {
|
||||||
when { expression { v2changed } }
|
when { expression { v2changed } }
|
||||||
steps { sh "make V=${params.VERBOSITY} test2" }
|
steps { script {
|
||||||
|
nix.shell("make V=${params.VERBOSITY} test2")
|
||||||
|
} }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
16
shell.nix
Normal file
16
shell.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ pkgs ? import (builtins.fetchTarball {
|
||||||
|
url = "https://github.com/NixOS/nixpkgs/archive/dbf1d73cd1a17276196afeee169b4cf7834b7a96.tar.gz";
|
||||||
|
sha256 = "sha256:1k5nvn2yzw370cqsfh62lncsgydq2qkbjrx34cprzf0k6b93v7ch";
|
||||||
|
}) {} }:
|
||||||
|
|
||||||
|
pkgs.mkShell {
|
||||||
|
name = "nim-waku-build-shell";
|
||||||
|
|
||||||
|
# Versions dependent on nixpkgs commit. Update manually.
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
git # 2.37.3
|
||||||
|
which # 2.21
|
||||||
|
gcc # 11.3.0
|
||||||
|
rustc # 1.63.0
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
|
}
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# libtool - Provide generalized library-building support services.
|
# libtool - Provide generalized library-building support services.
|
||||||
# Generated automatically by config.status (libbacktrace) version-unused
|
# Generated automatically by config.status (libbacktrace) version-unused
|
||||||
# Libtool was configured on host fv-az190-137:
|
# Libtool was configured on host fv-az619-657:
|
||||||
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
||||||
#
|
#
|
||||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user