mirror of
https://github.com/levogevo/ffmpeg-builder.git
synced 2026-01-15 19:06:17 +00:00
many small fixes to allow user-overridable defaults
This commit is contained in:
40
Jenkinsfile
vendored
40
Jenkinsfile
vendored
@@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user