many small fixes to allow user-overridable defaults

This commit is contained in:
2025-08-17 18:25:06 -05:00
parent 4345ca5878
commit 65d8d24480
6 changed files with 119 additions and 90 deletions

40
Jenkinsfile vendored
View File

@@ -2,7 +2,7 @@ pipeline {
agent none
environment { DEBUG = "1" }
stages {
stage('Build in Docker') {
stage('Build Docker Image') {
matrix {
axes {
axis {
@@ -13,10 +13,6 @@ pipeline {
'debian-13',
'archlinux-latest'
}
axis {
name 'ARCH'
values 'arm64', 'amd64'
}
}
stages {
stage('Build Multiarch Image') {
@@ -33,6 +29,38 @@ pipeline {
}
}
}
}
}
}
}
stages {
stage('Run Docker Image') {
matrix {
axes {
axis {
name 'DISTRO'
values 'ubuntu-24.04',
'fedora-42',
'fedora-41',
'debian-13',
'archlinux-latest'
}
axis {
name 'ARCH'
values 'arm64', 'amd64'
}
axis {
name 'STATIC'
values 'true', 'false'
}
axis {
name 'OPT_AND_LTO'
values 'OPT_LVL=0 LTO=false',
'OPT_LVL=2 LTO=false',
'OPT_LVL=3 LTO=true'
}
}
stages {
stage('Run Multiarch Image') {
agent { label "linux && ${ARCH}" }
steps {
@@ -43,7 +71,7 @@ pipeline {
passwordVariable: 'DOCKER_REGISTRY_PASS',
usernameVariable: 'DOCKER_REGISTRY_USER'
)]) {
sh "./scripts/docker_run_image.sh ${DISTRO}"
sh "STATIC=${STATIC} ${OPT_AND_LTO} ./scripts/docker_run_image.sh ${DISTRO}"
}
}
}