-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests,ci] Allow to build only tests
Signed-off-by: Mariusz Zaborski <[email protected]>
- Loading branch information
Showing
8 changed files
with
78 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
stage('build') { | ||
try { | ||
sh ''' | ||
meson setup build/ \ | ||
--werror \ | ||
--prefix="$PREFIX" \ | ||
--buildtype="$BUILDTYPE" \ | ||
-Dskeleton=disabled \ | ||
-Ddirect=disabled \ | ||
-Dsgx=disabled \ | ||
-Dtests=enabled \ | ||
$MESON_OPTIONS | ||
ninja -vC build/ | ||
''' | ||
} finally { | ||
archiveArtifacts ''' | ||
build/meson-logs/**/*, | ||
''' | ||
} | ||
|
||
sh 'rm -rf build' | ||
sh 'git clean -Xf subprojects' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
node('nonsgx_slave && aesni') { | ||
checkout scm | ||
|
||
load '.ci/lib/config-docker.jenkinsfile' | ||
docker.build( | ||
"local:${env.BUILD_TAG}", | ||
'-f .ci/ubuntu20.04.dockerfile .' | ||
).inside("${env.DOCKER_ARGS_COMMON} --security-opt seccomp=${env.WORKSPACE}/scripts/docker_seccomp_mar_2021.json") { | ||
load '.ci/lib/config.jenkinsfile' | ||
load '.ci/lib/config-clang.jenkinsfile' | ||
|
||
load '.ci/lib/stage-build-test-only.jenkinsfile' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters