Skip to content

Commit

Permalink
ci: use Nix shell and upgrade Qt to 5.15.8
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Sokołowski <[email protected]>
  • Loading branch information
jakubgs committed Jan 23, 2023
1 parent a63ac19 commit d93ee6b
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 797 deletions.
182 changes: 0 additions & 182 deletions ci/Jenkinsfile.e2e

This file was deleted.

66 changes: 0 additions & 66 deletions ci/Jenkinsfile.imports

This file was deleted.

17 changes: 5 additions & 12 deletions ci/Jenkinsfile.linux
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
library 'status-jenkins-lib@v1.6.3'
library 'status-jenkins-lib@linux-use-nix'

/* Options section can't access functions in objects. */
def isPRBuild = utils.isPRBuild()

pipeline {
agent {
docker {
label 'linux'
image 'statusteam/nim-status-client-build:1.1.5'
/* allows jenkins use cat and mounts '/dev/fuse' for linuxdeployqt */
args '--entrypoint="" --cap-add SYS_ADMIN --security-opt apparmor:unconfined --device /dev/fuse'
}
label 'linux'
}

parameters {
Expand Down Expand Up @@ -48,8 +43,6 @@ pipeline {
MAKEFLAGS = "-j4 V=${params.VERBOSE}"
/* Disable colors in Nim compiler logs */
NIMFLAGS = '--colors:off'
/* Makefile assumes the compiler folder is included */
QTDIR = "/opt/qt/5.14.0/gcc_64"
/* Control output the filename */
STATUS_CLIENT_APPIMAGE = "pkg/${utils.pkgFilename(ext: 'AppImage')}"
STATUS_CLIENT_TARBALL = "pkg/${utils.pkgFilename(ext: 'tar.gz')}"
Expand All @@ -58,14 +51,14 @@ pipeline {
stages {
stage('Deps') {
steps {
sh 'make update'
sh 'make deps'
nix.shell('make update', pure: false)
nix.shell('make deps', pure: false)
}
}

stage('status-go') {
steps {
sh 'make status-go'
nix.shell('make status-go', pure: false)
}
}

Expand Down
90 changes: 0 additions & 90 deletions ci/Jenkinsfile.linux-cpp

This file was deleted.

Loading

0 comments on commit d93ee6b

Please sign in to comment.