mirror of
https://github.com/levogevo/ffmpeg-builder.git
synced 2026-01-15 19:06:17 +00:00
build on amd64
This commit is contained in:
29
Jenkinsfile
vendored
29
Jenkinsfile
vendored
@@ -1,9 +1,9 @@
|
||||
pipeline {
|
||||
agent none
|
||||
stages {
|
||||
stage('Build Matrix') {
|
||||
stage('Build Docker Image Matrix') {
|
||||
matrix {
|
||||
agent { label "linux" }
|
||||
agent { label "linux && amd64" }
|
||||
axes {
|
||||
axis {
|
||||
name 'DISTRO'
|
||||
@@ -12,8 +12,31 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Build') {
|
||||
stage('Build Docker Image') {
|
||||
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 Matrix') {
|
||||
matrix {
|
||||
agent { label "linux && arm64" }
|
||||
axes {
|
||||
axis {
|
||||
name 'DISTRO'
|
||||
values 'debian:bookworm', 'ubuntu:24.04', 'ubuntu:22.04',
|
||||
'archlinux:latest', 'fedora:42'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage('Run Docker Image') {
|
||||
steps {
|
||||
unstash "${DISTRO}-stash"
|
||||
sh "./scripts/docker_load_image.sh ${DISTRO}"
|
||||
sh "./scripts/docker_run_amd64_image_on_arm64.sh ${DISTRO}"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user