Browse Source

Cleanup build config.

Yuxin Wang 4 years ago
parent
commit
0e13bb5d08
1 changed files with 5 additions and 7 deletions
  1. 5 7
      .github/workflows/main.yml

+ 5 - 7
.github/workflows/main.yml

@@ -8,19 +8,15 @@ jobs:
   build-mac:
     strategy:
       matrix:
-        # windows builds may need to specify building 64bit target:
-        # if [[ "$OSTYPE" == "msys" ]]; then export WINEXTRA="-DCMAKE_GENERATOR_PLATFORM=x64"; else export WINEXTRA=""; fi
         os: [macOS-latest]
     runs-on: ${{ matrix.os }}
     steps:
     - uses: actions/checkout@v2
-
     - name: Install Qt 5.15.2
       uses: jurplel/install-qt-action@v2
       with:
         version: "5.15.2"
-        modules: "qtwebengine"
-        
+        modules: "qtwebengine"  
     - name: Install dependencies
       run: |
         brew update
@@ -36,18 +32,18 @@ jobs:
         grep -v enable-javascript /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpv.rb | grep -v mujs > _tmp
         mv _tmp /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/mpv.rb
         brew install mpv --build-from-source
-    - name: Debug build and test
+    - name: Release build
       run: |
         ./download_webclient.sh
         cd build
         cmake -GNinja -DQTROOT=$Qt5_DIR -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=output ..
         ninja install
-        
     - name: Archive production artifacts
       uses: actions/upload-artifact@v2
       with:
         name: macos
         path: ${{ github.workspace }}/build/output/Jellyfin\ Media\ Player.dmg
+        
   build-win:
     strategy:
       matrix:
@@ -93,6 +89,7 @@ jobs:
       with:
         name: windows
         path: ${{ github.workspace }}/build/JellyfinMediaPlayer-*-windows-x64.exe
+
   build-ubuntu:
     strategy:
       matrix:
@@ -110,6 +107,7 @@ jobs:
       with:
         name: ubuntu-${{ matrix.tag }}
         path: ${{ github.workspace }}/deployment/dist/*
+
   build-debian:
     strategy:
       matrix: