github/workflows: bundle macOS App and upload it as artifact

also add architecture to artifact name
This commit is contained in:
der richter 2024-02-21 21:12:40 +01:00
parent 06ee5e9344
commit 0ed023653a
1 changed files with 15 additions and 0 deletions

View File

@ -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: