|
@@ -10,12 +10,12 @@ jobs:
|
|
build-mac:
|
|
build-mac:
|
|
runs-on: macos-11
|
|
runs-on: macos-11
|
|
steps:
|
|
steps:
|
|
- - uses: actions/checkout@v2
|
|
+ - uses: actions/checkout@v3
|
|
- name: Install Qt 5.15.2
|
|
- name: Install Qt 5.15.2
|
|
uses: jurplel/install-qt-action@v3
|
|
uses: jurplel/install-qt-action@v3
|
|
with:
|
|
with:
|
|
version: "5.15.2"
|
|
version: "5.15.2"
|
|
- modules: "qtwebengine"
|
|
+ modules: "qtwebengine"
|
|
setup-python: 'false'
|
|
setup-python: 'false'
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
run: |
|
|
run: |
|
|
@@ -33,15 +33,15 @@ jobs:
|
|
brew install create-dmg
|
|
brew install create-dmg
|
|
create-dmg --volname "Jellyfin Media Player" --no-internet-enable "JellyfinMediaPlayer.dmg" "./build/output/Jellyfin Media Player.app"
|
|
create-dmg --volname "Jellyfin Media Player" --no-internet-enable "JellyfinMediaPlayer.dmg" "./build/output/Jellyfin Media Player.app"
|
|
- name: Archive production artifacts
|
|
- name: Archive production artifacts
|
|
- uses: actions/upload-artifact@v2
|
|
+ uses: actions/upload-artifact@v3
|
|
with:
|
|
with:
|
|
name: macos
|
|
name: macos
|
|
path: ${{ github.workspace }}/JellyfinMediaPlayer.dmg
|
|
path: ${{ github.workspace }}/JellyfinMediaPlayer.dmg
|
|
-
|
|
+
|
|
build-win64:
|
|
build-win64:
|
|
runs-on: windows-latest
|
|
runs-on: windows-latest
|
|
steps:
|
|
steps:
|
|
- - uses: actions/checkout@v2
|
|
+ - uses: actions/checkout@v3
|
|
- name: Install Qt 5.15.2
|
|
- name: Install Qt 5.15.2
|
|
uses: jurplel/install-qt-action@v3
|
|
uses: jurplel/install-qt-action@v3
|
|
with:
|
|
with:
|
|
@@ -79,7 +79,7 @@ jobs:
|
|
ninja windows_package
|
|
ninja windows_package
|
|
shell: cmd
|
|
shell: cmd
|
|
- name: Archive production artifacts
|
|
- name: Archive production artifacts
|
|
- uses: actions/upload-artifact@v2
|
|
+ uses: actions/upload-artifact@v3
|
|
with:
|
|
with:
|
|
name: windows
|
|
name: windows
|
|
path: ${{ github.workspace }}/build/JellyfinMediaPlayer-*.exe
|
|
path: ${{ github.workspace }}/build/JellyfinMediaPlayer-*.exe
|
|
@@ -87,7 +87,7 @@ jobs:
|
|
build-win32:
|
|
build-win32:
|
|
runs-on: windows-latest
|
|
runs-on: windows-latest
|
|
steps:
|
|
steps:
|
|
- - uses: actions/checkout@v2
|
|
+ - uses: actions/checkout@v3
|
|
- name: Install Qt 5.15.2
|
|
- name: Install Qt 5.15.2
|
|
uses: jurplel/install-qt-action@v3
|
|
uses: jurplel/install-qt-action@v3
|
|
with:
|
|
with:
|
|
@@ -125,7 +125,7 @@ jobs:
|
|
ninja windows_package
|
|
ninja windows_package
|
|
shell: cmd
|
|
shell: cmd
|
|
- name: Archive production artifacts
|
|
- name: Archive production artifacts
|
|
- uses: actions/upload-artifact@v2
|
|
+ uses: actions/upload-artifact@v3
|
|
with:
|
|
with:
|
|
name: windows-legacy32
|
|
name: windows-legacy32
|
|
path: ${{ github.workspace }}/build/JellyfinMediaPlayer-*.exe
|
|
path: ${{ github.workspace }}/build/JellyfinMediaPlayer-*.exe
|
|
@@ -136,13 +136,13 @@ jobs:
|
|
tag: [kinetic, jammy, focal]
|
|
tag: [kinetic, jammy, focal]
|
|
runs-on: "ubuntu-latest"
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
steps:
|
|
- - uses: actions/checkout@v2
|
|
+ - uses: actions/checkout@v3
|
|
- name: Docker Build
|
|
- name: Docker Build
|
|
run: |
|
|
run: |
|
|
docker build -f deployment/Dockerfile.debian -t builddeb --build-arg TAG=${{ matrix.tag }} --build-arg IMG=ubuntu deployment
|
|
docker build -f deployment/Dockerfile.debian -t builddeb --build-arg TAG=${{ matrix.tag }} --build-arg IMG=ubuntu deployment
|
|
docker run -v $(pwd)/deployment/dist:/dist -v $(pwd):/jellyfin -e TAG=${{ matrix.tag }} builddeb
|
|
docker run -v $(pwd)/deployment/dist:/dist -v $(pwd):/jellyfin -e TAG=${{ matrix.tag }} builddeb
|
|
- name: Archive production artifacts
|
|
- name: Archive production artifacts
|
|
- uses: actions/upload-artifact@v2
|
|
+ uses: actions/upload-artifact@v3
|
|
with:
|
|
with:
|
|
name: ubuntu-${{ matrix.tag }}
|
|
name: ubuntu-${{ matrix.tag }}
|
|
path: ${{ github.workspace }}/deployment/dist/*
|
|
path: ${{ github.workspace }}/deployment/dist/*
|
|
@@ -153,13 +153,13 @@ jobs:
|
|
tag: [bullseye, bookworm]
|
|
tag: [bullseye, bookworm]
|
|
runs-on: "ubuntu-latest"
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
steps:
|
|
- - uses: actions/checkout@v2
|
|
+ - uses: actions/checkout@v3
|
|
- name: Docker Build
|
|
- name: Docker Build
|
|
run: |
|
|
run: |
|
|
docker build -f deployment/Dockerfile.debian -t builddeb --build-arg TAG=${{ matrix.tag }} deployment
|
|
docker build -f deployment/Dockerfile.debian -t builddeb --build-arg TAG=${{ matrix.tag }} deployment
|
|
docker run -v $(pwd)/deployment/dist:/dist -v $(pwd):/jellyfin -e TAG=${{ matrix.tag }} builddeb
|
|
docker run -v $(pwd)/deployment/dist:/dist -v $(pwd):/jellyfin -e TAG=${{ matrix.tag }} builddeb
|
|
- name: Archive production artifacts
|
|
- name: Archive production artifacts
|
|
- uses: actions/upload-artifact@v2
|
|
+ uses: actions/upload-artifact@v3
|
|
with:
|
|
with:
|
|
name: debian-${{ matrix.tag }}
|
|
name: debian-${{ matrix.tag }}
|
|
path: ${{ github.workspace }}/deployment/dist/*
|
|
path: ${{ github.workspace }}/deployment/dist/*
|