diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4bad7ad..da9b9ba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -186,86 +186,3 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - windows-qt5: - needs: linux - runs-on: windows-latest - - steps: - - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Install Qt5 - uses: jurplel/install-qt-action@v4 - with: - version: '5.15.2' - arch: 'win64_msvc2019_64' - cache: true - - - uses: ilammy/msvc-dev-cmd@v1 - with: - arch: x64 - - - name: Configure - run: cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release - - - name: Build - run: cmake --build build - - - name: Test - run: ctest --test-dir build --output-on-failure --exclude-regex "test_editor|test_windbg_provider|test_com_security|test_format|test_command_row|test_type_selector" - - - name: Upload artifact - uses: actions/upload-artifact@v4 - if: always() - with: - name: Reclass-win64-qt5 - path: | - build/Reclass.exe - build/ReclassMcpBridge.exe - build/Plugins/*.dll - build/*.dll - build/platforms/ - build/styles/ - build/imageformats/ - build/iconengines/ - build/themes/ - build/screenshot.png - - - name: Get date tag - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - id: date - shell: bash - run: echo "tag=$(date +'%d-%m-%Y')" >> "$GITHUB_OUTPUT" - - - name: Package release zip - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - shell: bash - run: | - mkdir -p release - cp build/Reclass.exe release/ - cp build/ReclassMcpBridge.exe release/ - cp build/*.dll release/ 2>/dev/null || true - cp -r build/platforms release/ 2>/dev/null || true - cp -r build/styles release/ 2>/dev/null || true - cp -r build/imageformats release/ 2>/dev/null || true - cp -r build/iconengines release/ 2>/dev/null || true - mkdir -p release/Plugins - cp build/Plugins/*.dll release/Plugins/ 2>/dev/null || true - cp -r build/themes release/ 2>/dev/null || true - cp build/screenshot.png release/ 2>/dev/null || true - cd release && 7z a ../Reclass-win64-qt5.zip * - - - name: Upload release asset - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - uses: softprops/action-gh-release@v2 - with: - tag_name: snapshot-${{ steps.date.outputs.tag }} - name: Snapshot ${{ steps.date.outputs.tag }} - body: | - Automated snapshot from main branch. - Commit: ${{ github.sha }} - prerelease: false - files: Reclass-win64-qt5.zip - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}