diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml.disabled similarity index 100% rename from .github/workflows/macos.yml rename to .github/workflows/macos.yml.disabled diff --git a/.github/workflows/reuse-check.yml b/.github/workflows/reuse-check.yml.disabled similarity index 100% rename from .github/workflows/reuse-check.yml rename to .github/workflows/reuse-check.yml.disabled diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml.disabled similarity index 100% rename from .github/workflows/ubuntu.yml rename to .github/workflows/ubuntu.yml.disabled diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index db24f95..99101d4 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,43 +1,47 @@ name: Windows CI -on: [push, pull_request, workflow_dispatch] +on: + workflow_dispatch: + push: + branches: + - master jobs: - msvc-qmake-build: + # msvc-qmake-build: - strategy: - matrix: - include: - - qt_ver: '6.9.0' - vs: '2022' - aqt_arch: 'win64_msvc2022_64' - msvc_arch: 'x64' + # strategy: + # matrix: + # include: + # - qt_ver: '6.9.0' + # vs: '2022' + # aqt_arch: 'win64_msvc2022_64' + # msvc_arch: 'x64' - runs-on: windows-2022 + # runs-on: windows-2022 - steps: - - uses: actions/checkout@v4 - - name: Install Qt - uses: jurplel/install-qt-action@v4 - with: - arch: ${{ matrix.aqt_arch }} - version: ${{ matrix.qt_ver }} - modules: 'qtimageformats' - - name: Build - shell: cmd - run: | - set VS=${{ matrix.vs }} - set VCVARS="C:\Program Files (x86)\Microsoft Visual Studio\%VS%\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" - if not exist %VCVARS% set VCVARS="C:\Program Files\Microsoft Visual Studio\%VS%\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" - call %VCVARS% ${{ matrix.msvc_arch }} - qmake pineapple-pictures.pro - nmake - nmake clean - windeployqt --verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-system-d3d-compiler --no-system-dxc-compiler --skip-plugin-types tls,networkinformation release\ppic.exe - - uses: actions/upload-artifact@v4 - with: - name: "windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-qmake-package" - path: release/* + # steps: + # - uses: actions/checkout@v4 + # - name: Install Qt + # uses: jurplel/install-qt-action@v4 + # with: + # arch: ${{ matrix.aqt_arch }} + # version: ${{ matrix.qt_ver }} + # modules: 'qtimageformats' + # - name: Build + # shell: cmd + # run: | + # set VS=${{ matrix.vs }} + # set VCVARS="C:\Program Files (x86)\Microsoft Visual Studio\%VS%\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" + # if not exist %VCVARS% set VCVARS="C:\Program Files\Microsoft Visual Studio\%VS%\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" + # call %VCVARS% ${{ matrix.msvc_arch }} + # qmake pineapple-pictures.pro + # nmake + # nmake clean + # windeployqt --verbose=2 --no-quick-import --no-translations --no-opengl-sw --no-system-d3d-compiler --no-system-dxc-compiler --skip-plugin-types tls,networkinformation release\ppic.exe + # - uses: actions/upload-artifact@v4 + # with: + # name: "windows-msvc${{ matrix.vs }}-qt${{ matrix.qt_ver }}-qmake-package" + # path: release/* msvc-cmake-build: