From 5e7ccf2621d8d166cf0266acb1ceefa9618e2be5 Mon Sep 17 00:00:00 2001 From: toasterofbread Date: Sun, 23 Jun 2024 11:04:57 +0100 Subject: [PATCH] Remove Windows workflow --- .github/workflows/build-windows-x86_64.yml | 91 ---------------------- 1 file changed, 91 deletions(-) delete mode 100644 .github/workflows/build-windows-x86_64.yml diff --git a/.github/workflows/build-windows-x86_64.yml b/.github/workflows/build-windows-x86_64.yml deleted file mode 100644 index 502f21c..0000000 --- a/.github/workflows/build-windows-x86_64.yml +++ /dev/null @@ -1,91 +0,0 @@ -name: Build [Windows x86_64] - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - types: [opened, synchronize, reopened, ready_for_review] - workflow_dispatch: - -jobs: - build: - runs-on: windows-latest - if: ${{ github.event.pull_request.draft == false && (github.event_name == 'workflow_dispatch' || !contains(github.event.head_commit.message, 'noci')) }} - - steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - - name: Set up JDK 21 - uses: actions/setup-java@v3 - with: - distribution: 'temurin' - java-version: | - 22 - 21 - - - name: Build libzmq - uses: johnwason/vcpkg-action@v6 - with: - pkgs: zeromq[draft] - triplet: x64-windows - token: ${{ github.token }} - github-binarycache: true - - - name: Copy built files - run: xcopy /s /i /y "${{ github.workspace }}\vcpkg\installed\x64-windows\*" "${{ github.workspace }}\library\src\nativeInterop\mingwX64" - - - name: Download mpv - run: curl -L https://downloads.sourceforge.net/project/mpv-player-windows/libmpv/mpv-dev-x86_64-20240114-git-bd35dc8.7z --output mpv.7z - - - name: Extract mpv - shell: bash - run: | - "/c/Program Files/7-Zip/7z.exe" x mpv.7z -o"library\src\nativeInterop\mingwX64" - - - name: Move libmpv.dll.a - run: move library\src\nativeInterop\mingwX64\libmpv.dll.a library\src\nativeInterop\mingwX64\lib\libmpv.dll.a - - - name: Move libmpv-2.dll - run: move library\src\nativeInterop\mingwX64\libmpv-2.dll library\src\nativeInterop\mingwX64\bin\libmpv-2.dll - - - name: Set up Gradle - uses: gradle/gradle-build-action@v3 - - - name: Build Windows x86_64 minimal binaries - run: .\gradlew.bat app:mingwX64Binaries -PMINIMAL --stacktrace - - - name: Upload debug binary - uses: actions/upload-artifact@v3 - with: - name: spms-minimal-windows-x86_64-debug - path: app\build\bin\mingwX64\debugExecutable\*.exe - - - name: Upload release binary - uses: actions/upload-artifact@v3 - with: - name: spms-minimal-windows-x86_64-release - path: app\build\bin\mingwX64\releaseExecutable\*.exe - - - name: Build Windows x86_64 full binaries - run: .\gradlew.bat app:mingwX64Binaries --stacktrace - - - name: Upload debug binary - uses: actions/upload-artifact@v3 - with: - name: spms-windows-x86_64-debug - path: app/app\build\bin\mingwX64\debugExecutable\*.exe - - - name: Upload release binary - uses: actions/upload-artifact@v3 - with: - name: spms-windows-x86_64-release - path: app/app\build\bin\mingwX64\releaseExecutable\*.exe - - - name: Upload DLL dependencies - uses: actions/upload-artifact@v3 - with: - name: dependencies - path: app\build\bin\mingwX64\releaseExecutable\*.dll