mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-10-30 12:24:09 +09:00
[build] Use macos-15-intel runner for macos builds (#17944)
Authored by: bashonly
This commit is contained in:
1 parent
f264a6cbd1
commit
34ea29166e
3 files changed
+23
-6
No files matched your search
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
|
||||
Reference in new issue
Block a user