mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-11-03 13:02:45 -05:00
Compare commits
3
Commits
2026.10.26
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b77c9304e1 | ||
|
|
0b8f7258b9 | ||
|
|
34ea29166e |
@@ -27,6 +27,9 @@ on:
|
||||
macos:
|
||||
default: true
|
||||
type: boolean
|
||||
verify_macos:
|
||||
default: true
|
||||
type: boolean
|
||||
windows:
|
||||
default: true
|
||||
type: boolean
|
||||
@@ -69,6 +72,10 @@ on:
|
||||
description: yt-dlp_macos, yt-dlp_macos.zip
|
||||
default: true
|
||||
type: boolean
|
||||
verify_macos:
|
||||
description: Verify the macOS build on arm64 (if UPDATE_TO_VERIFICATION is set)
|
||||
default: true
|
||||
type: boolean
|
||||
windows:
|
||||
description: yt-dlp.exe, yt-dlp_win.zip, yt-dlp_x86.exe, yt-dlp_win_x86.zip, yt-dlp_arm64.exe, yt-dlp_win_arm64.zip
|
||||
default: true
|
||||
@@ -304,7 +311,7 @@ jobs:
|
||||
if: inputs.macos
|
||||
permissions:
|
||||
contents: read
|
||||
runs-on: macos-14
|
||||
runs-on: macos-15-intel
|
||||
env:
|
||||
CHANNEL: ${{ inputs.channel }}
|
||||
ORIGIN: ${{ needs.process.outputs.origin }}
|
||||
@@ -365,7 +372,7 @@ jobs:
|
||||
(cd ./dist/yt-dlp_macos && zip -r ../yt-dlp_macos.zip .)
|
||||
python3 -m bundle.pyinstaller --target-architecture universal2
|
||||
|
||||
- name: Verify --update-to
|
||||
- name: Verify --update-to (intel)
|
||||
if: vars.UPDATE_TO_VERIFICATION
|
||||
run: |
|
||||
chmod +x ./dist/yt-dlp_macos
|
||||
@@ -385,12 +392,12 @@ jobs:
|
||||
compression-level: 0
|
||||
|
||||
macos_verify:
|
||||
name: Verify macos x86_64
|
||||
name: Verify macos arm64
|
||||
needs: [macos]
|
||||
if: inputs.macos && vars.UPDATE_TO_VERIFICATION
|
||||
if: inputs.verify_macos && vars.UPDATE_TO_VERIFICATION
|
||||
permissions:
|
||||
contents: read
|
||||
runs-on: macos-15-intel
|
||||
runs-on: macos-latest
|
||||
env:
|
||||
UPDATE_TO: yt-dlp/yt-dlp@2025.09.05
|
||||
|
||||
@@ -401,7 +408,7 @@ jobs:
|
||||
path: dist
|
||||
pattern: build-bin-macos
|
||||
|
||||
- name: Verify --update-to on x86_64 architecture
|
||||
- name: Verify --update-to (arm64)
|
||||
run: |
|
||||
chmod +x ./dist/yt-dlp_macos
|
||||
cp ./dist/yt-dlp_macos ./dist/yt-dlp_macos_downgraded
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Quick Test
|
||||
on:
|
||||
push:
|
||||
branches: ['master']
|
||||
branches: ['**']
|
||||
# This workflow contains required checks and needs to run for EVERY pull_request
|
||||
pull_request:
|
||||
branches: ['**']
|
||||
|
||||
@@ -82,6 +82,7 @@ jobs:
|
||||
prerelease: true
|
||||
source: ${{ (github.repository != 'yt-dlp/yt-dlp' && vars.NIGHTLY_ARCHIVE_REPO) || 'nightly' }}
|
||||
target: 'nightly'
|
||||
verify_macos: ${{ github.event_name != 'schedule' }}
|
||||
secrets:
|
||||
ARCHIVE_REPO_TOKEN: ${{ secrets.ARCHIVE_REPO_TOKEN }}
|
||||
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
|
||||
|
||||
@@ -18,6 +18,10 @@ on:
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
verify_macos:
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
prerelease:
|
||||
required: false
|
||||
default: true
|
||||
@@ -58,6 +62,10 @@ on:
|
||||
description: Include linux_armv7l
|
||||
default: true
|
||||
type: boolean
|
||||
verify_macos:
|
||||
description: Verify the macOS build on arm64
|
||||
default: true
|
||||
type: boolean
|
||||
prerelease:
|
||||
description: Pre-release
|
||||
default: false
|
||||
@@ -161,6 +169,7 @@ jobs:
|
||||
channel: ${{ needs.prepare.outputs.channel }}
|
||||
origin: ${{ needs.prepare.outputs.target_repo }}
|
||||
linux_armv7l: ${{ inputs.linux_armv7l }}
|
||||
verify_macos: ${{ inputs.verify_macos }}
|
||||
secrets:
|
||||
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Test and lint workflows
|
||||
on:
|
||||
push:
|
||||
branches: ['master']
|
||||
branches: ['**']
|
||||
# This workflow contains required checks and needs to run for EVERY pull_request
|
||||
pull_request:
|
||||
branches: ['**']
|
||||
|
||||
+1
-1
@@ -476,7 +476,7 @@ select = [
|
||||
]
|
||||
exclude = "*/extractor/lazy_extractors.py,*venv*,*/test/testdata/sigs/player-*.js,.idea,.vscode"
|
||||
|
||||
[tool.pytest]
|
||||
[tool.pytest.ini_options]
|
||||
addopts = [
|
||||
"-ra", # summary: all except passed
|
||||
"--tb=short",
|
||||
|
||||
Reference in New Issue
Block a user