diff options
author | der richter <der.richter@gmx.de> | 2024-02-21 21:12:40 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2024-02-24 20:04:16 +0100 |
commit | 0ed023653aa8ec633a0ff3b7f2fe05073748209e (patch) | |
tree | 076ae75dbf350bdcc84f1a0a0118e178f01659e6 /.github | |
parent | 06ee5e9344d87108ac1c774e95dcb323b389e7b6 (diff) | |
download | mpv-0ed023653aa8ec633a0ff3b7f2fe05073748209e.tar.bz2 mpv-0ed023653aa8ec633a0ff3b7f2fe05073748209e.tar.xz |
github/workflows: bundle macOS App and upload it as artifact
also add architecture to artifact name
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d7ae0e481..65f9cab40d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: |