mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-19 19:42:24 +02:00
github/workflows: bundle macOS App and upload it as artifact
also add architecture to artifact name
This commit is contained in:
parent
06ee5e9344
commit
0ed023653a
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -97,6 +97,11 @@ jobs:
|
||||
os:
|
||||
- "macos-12"
|
||||
- "macos-13"
|
||||
include:
|
||||
- os: "macos-12"
|
||||
arch: "intel"
|
||||
- os: "macos-13"
|
||||
arch: "intel"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@ -119,6 +124,11 @@ jobs:
|
||||
CXX: "${{ matrix.cxx }}"
|
||||
TRAVIS_OS_NAME: "${{ matrix.os }}"
|
||||
|
||||
- name: Create App Bundle
|
||||
run: |
|
||||
meson compile -C build macos-bundle
|
||||
tar -czvf mpv.tar.gz -C build mpv.app
|
||||
|
||||
- name: Print meson log
|
||||
if: ${{ failure() && steps.build.outcome == 'failure' }}
|
||||
run: |
|
||||
@ -134,6 +144,11 @@ jobs:
|
||||
run: |
|
||||
cat ./build/meson-logs/testlog.txt
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: mpv-${{ matrix.os }}-${{ matrix.arch }}
|
||||
path: mpv.tar.gz
|
||||
|
||||
linux:
|
||||
runs-on: "ubuntu-22.04"
|
||||
container:
|
||||
|
Loading…
Reference in New Issue
Block a user