mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-17 18:08:30 +00:00
verify linux exes in container too
Authored by: bashonly
This commit is contained in:
parent
324df654e8
commit
4be0b7f16c
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -170,6 +170,18 @@ jobs:
|
|||||||
docker compose up --build --exit-code-from "${SERVICE}" "${SERVICE}"
|
docker compose up --build --exit-code-from "${SERVICE}" "${SERVICE}"
|
||||||
docker compose down
|
docker compose down
|
||||||
sudo chown "${USER}:docker" ~/build/${{ matrix.exe }}
|
sudo chown "${USER}:docker" ~/build/${{ matrix.exe }}
|
||||||
|
- name: Verify --update-to in container
|
||||||
|
if: vars.UPDATE_TO_VERIFICATION
|
||||||
|
env:
|
||||||
|
EXE_NAME: ${{ matrix.exe }}
|
||||||
|
CHANNEL: ${{ inputs.channel }}
|
||||||
|
ORIGIN: ${{ needs.process.outputs.origin }}
|
||||||
|
VERSION: ${{ inputs.version }}
|
||||||
|
SERVICE: linux_${{ matrix.platform }}_verify
|
||||||
|
run: |
|
||||||
|
cd bundle/docker
|
||||||
|
docker compose up --build --exit-code-from "${SERVICE}" "${SERVICE}"
|
||||||
|
docker compose down
|
||||||
- name: Verify --update-to
|
- name: Verify --update-to
|
||||||
if: vars.UPDATE_TO_VERIFICATION
|
if: vars.UPDATE_TO_VERIFICATION
|
||||||
run: |
|
run: |
|
||||||
|
@ -16,6 +16,19 @@ services:
|
|||||||
- ~/build:/build
|
- ~/build:/build
|
||||||
- ../..:/yt-dlp
|
- ../..:/yt-dlp
|
||||||
|
|
||||||
|
linux_x86_64_verify:
|
||||||
|
build:
|
||||||
|
context: linux
|
||||||
|
dockerfile: verify.Dockerfile
|
||||||
|
platforms:
|
||||||
|
- "linux/amd64"
|
||||||
|
args:
|
||||||
|
IMAGE: quay.io/pypa/manylinux2014_x86_64:latest
|
||||||
|
environment:
|
||||||
|
EXE_NAME: ${EXE_NAME}
|
||||||
|
volumes:
|
||||||
|
- ~/build:/build
|
||||||
|
|
||||||
linux_aarch64:
|
linux_aarch64:
|
||||||
build:
|
build:
|
||||||
context: linux
|
context: linux
|
||||||
@ -32,6 +45,20 @@ services:
|
|||||||
- ~/build:/build
|
- ~/build:/build
|
||||||
- ../..:/yt-dlp
|
- ../..:/yt-dlp
|
||||||
|
|
||||||
|
linux_aarch64_verify:
|
||||||
|
build:
|
||||||
|
context: linux
|
||||||
|
dockerfile: verify.Dockerfile
|
||||||
|
platforms:
|
||||||
|
- "linux/arm64"
|
||||||
|
args:
|
||||||
|
IMAGE: quay.io/pypa/manylinux2014_aarch64:latest
|
||||||
|
environment:
|
||||||
|
EXE_NAME: ${EXE_NAME}
|
||||||
|
SKIP_UPDATE_TO: "1" # TODO: remove when there is a glibc2.17 aarch64 release to --update-to
|
||||||
|
volumes:
|
||||||
|
- ~/build:/build
|
||||||
|
|
||||||
linux_armv7l:
|
linux_armv7l:
|
||||||
build:
|
build:
|
||||||
context: linux
|
context: linux
|
||||||
@ -89,7 +116,7 @@ services:
|
|||||||
IMAGE: alpine:3.22
|
IMAGE: alpine:3.22
|
||||||
environment:
|
environment:
|
||||||
EXE_NAME: ${EXE_NAME}
|
EXE_NAME: ${EXE_NAME}
|
||||||
SKIP_UPDATE_TO: "1"
|
SKIP_UPDATE_TO: "1" # TODO: remove when there is a musllinux_aarch64 release to --update-to
|
||||||
volumes:
|
volumes:
|
||||||
- ~/build:/build
|
- ~/build:/build
|
||||||
|
|
||||||
@ -120,7 +147,7 @@ services:
|
|||||||
IMAGE: alpine:3.22
|
IMAGE: alpine:3.22
|
||||||
environment:
|
environment:
|
||||||
EXE_NAME: ${EXE_NAME}
|
EXE_NAME: ${EXE_NAME}
|
||||||
SKIP_UPDATE_TO: "1"
|
SKIP_UPDATE_TO: "1" # TODO: remove when there is a musllinux_aarch64 release to --update-to
|
||||||
EXCLUDE_CURL_CFFI: "1"
|
EXCLUDE_CURL_CFFI: "1"
|
||||||
volumes:
|
volumes:
|
||||||
- ~/build:/build
|
- ~/build:/build
|
||||||
|
Loading…
Reference in New Issue
Block a user