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 a3feaeb
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 801 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.

25 changes: 9 additions & 16 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,25 +43,23 @@ 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')}"
}

stages {
stage('Deps') {
steps {
sh 'make update'
sh 'make deps'
}
steps { script {
nix.shell('make update', pure: false)
nix.shell('make deps', pure: false)
} }
}

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

stage('Package') {
Expand Down
90 changes: 0 additions & 90 deletions ci/Jenkinsfile.linux-cpp

This file was deleted.

Loading

0 comments on commit a3feaeb

Please sign in to comment.