Skip to content

Commit

Permalink
[CI] Add linux-sgx-ubuntu24.04-edmm.jenkinsfile
Browse files Browse the repository at this point in the history
Signed-off-by: Wojtek Porczyk <[email protected]>
  • Loading branch information
woju committed Sep 25, 2024
1 parent 730c68e commit c0575bd
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .ci/linux-sgx-ubuntu24.04-edmm.jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
node('sgx-edmm && aesni') {
checkout scm

env.AVX = '1' // EDMM-capable machines in our CI always have AVX
env.SGX = '1'
env.EDMM = '1'
env.RA_TYPE = 'dcap'

load '.ci/lib/config-docker.jenkinsfile'

env.DOCKER_ARGS_SGX += '''
--add-host host.docker.internal:host-gateway
'''

docker.build(
"local:${env.BUILD_TAG}",
'-f .ci/ubuntu24.04.dockerfile .'
).inside("${env.DOCKER_ARGS_COMMON} ${env.DOCKER_ARGS_SGX}") {
load '.ci/lib/config.jenkinsfile'
load '.ci/lib/config-release.jenkinsfile'

load '.ci/lib/stage-lint.jenkinsfile'
load '.ci/lib/stage-clean-check-prepare.jenkinsfile'
load '.ci/lib/stage-build-sgx.jenkinsfile'
load '.ci/lib/stage-test.jenkinsfile'
load '.ci/lib/stage-test-sgx.jenkinsfile'
load '.ci/lib/stage-clean-check.jenkinsfile'
}
}

0 comments on commit c0575bd

Please sign in to comment.