mirror of
https://github.com/levogevo/ffmpeg-builder.git
synced 2026-01-15 19:06:17 +00:00
updates
This commit is contained in:
28
Jenkinsfile
vendored
28
Jenkinsfile
vendored
@@ -1,31 +1,27 @@
|
||||
pipeline {
|
||||
agent none
|
||||
environment { DEBUG = "1" }
|
||||
stages {
|
||||
stage('Build Docker Image Matrix') {
|
||||
stage('Build in Docker') {
|
||||
matrix {
|
||||
axes {
|
||||
axis {
|
||||
name 'DISTRO'
|
||||
values 'debian-bookworm', 'ubuntu-24.04', 'ubuntu-22.04',
|
||||
'archlinux-latest', 'fedora-42'
|
||||
values 'ubuntu-22.04', 'ubuntu-24.04',
|
||||
'debian-bookworm', 'fedora-42'
|
||||
// 'archlinux-latest'
|
||||
}
|
||||
axis {
|
||||
name 'ARCH'
|
||||
values 'amd64', 'arm64'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Build Docker Image') {
|
||||
agent { label "linux && amd64" }
|
||||
stage('Build/Run') {
|
||||
agent { label "linux && ${ARCH}" }
|
||||
steps {
|
||||
sh "./scripts/docker_build_image.sh ${DISTRO}"
|
||||
sh "./scripts/docker_save_image.sh ${DISTRO}"
|
||||
stash includes: "gitignore/docker/*${DISTRO}.tar.zst", name: "${DISTRO}-stash"
|
||||
}
|
||||
}
|
||||
|
||||
stage('Run Docker Image') {
|
||||
agent { label "linux && arm64" }
|
||||
steps {
|
||||
unstash "${DISTRO}-stash"
|
||||
sh "./scripts/docker_load_image.sh ${DISTRO}"
|
||||
sh "./scripts/docker_run_amd64_image_on_arm64.sh ${DISTRO}"
|
||||
sh "./scripts/docker_run_image.sh ${DISTRO}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user