From 4ef3280cdba02a3a87b98768ae73752c35291d70 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 10 Nov 2024 17:05:29 -0600 Subject: [PATCH] Disable windows build_qt since its broken --- .github/workflows/CI-windows.yml | 90 ++++++++++++++++---------------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/.github/workflows/CI-windows.yml b/.github/workflows/CI-windows.yml index de3a56b2f5e..436a1ae0282 100644 --- a/.github/workflows/CI-windows.yml +++ b/.github/workflows/CI-windows.yml @@ -23,51 +23,51 @@ defaults: jobs: - build_qt: - strategy: - matrix: - os: [windows-2019, windows-2022] - qt_ver: [5.15.2, 6.7.3] - fail-fast: false - - runs-on: ${{ matrix.os }} - - steps: - - uses: actions/checkout@v4 - - - name: Set up Visual Studio environment - uses: ilammy/msvc-dev-cmd@v1 - with: - arch: x64 - - - name: Install Qt ${{ matrix.qt_ver }} - uses: jurplel/install-qt-action@v4 - with: - version: ${{ matrix.qt_ver }} - modules: 'qtcharts' - cache: true - - - name: Build GUI release (Qt 5) - if: startsWith(matrix.qt_ver, '5') - run: | - ; TODO: enable rules? - ; specify Release build so matchcompiler is used - cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_COMPILE_WARNING_AS_ERROR=On -DBUILD_GUI=On -DWITH_QCHART=On -DBUILD_ONLINE_HELP=On || exit /b !errorlevel! - cmake --build build --target cppcheck-gui --config Release || exit /b !errorlevel! - - - name: Build GUI release (Qt 6) - if: startsWith(matrix.qt_ver, '6') - run: | - ; TODO: enable rules? - ; specify Release build so matchcompiler is used - cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_COMPILE_WARNING_AS_ERROR=On -DBUILD_GUI=On -DUSE_QT6=On -DWITH_QCHART=On -DBUILD_ONLINE_HELP=On || exit /b !errorlevel! - cmake --build build --target cppcheck-gui --config Release || exit /b !errorlevel! - - - name: Deploy GUI - run: | - windeployqt build\bin\Release || exit /b !errorlevel! - del build\bin\Release\cppcheck-gui.ilk || exit /b !errorlevel! - del build\bin\Release\cppcheck-gui.pdb || exit /b !errorlevel! + # build_qt: + # strategy: + # matrix: + # os: [windows-2019, windows-2022] + # qt_ver: [5.15.2, 6.7.3] + # fail-fast: false + + # runs-on: ${{ matrix.os }} + + # steps: + # - uses: actions/checkout@v4 + + # - name: Set up Visual Studio environment + # uses: ilammy/msvc-dev-cmd@v1 + # with: + # arch: x64 + + # - name: Install Qt ${{ matrix.qt_ver }} + # uses: jurplel/install-qt-action@v4 + # with: + # version: ${{ matrix.qt_ver }} + # modules: 'qtcharts' + # cache: true + + # - name: Build GUI release (Qt 5) + # if: startsWith(matrix.qt_ver, '5') + # run: | + # ; TODO: enable rules? + # ; specify Release build so matchcompiler is used + # cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_COMPILE_WARNING_AS_ERROR=On -DBUILD_GUI=On -DWITH_QCHART=On -DBUILD_ONLINE_HELP=On || exit /b !errorlevel! + # cmake --build build --target cppcheck-gui --config Release || exit /b !errorlevel! + + # - name: Build GUI release (Qt 6) + # if: startsWith(matrix.qt_ver, '6') + # run: | + # ; TODO: enable rules? + # ; specify Release build so matchcompiler is used + # cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_COMPILE_WARNING_AS_ERROR=On -DBUILD_GUI=On -DUSE_QT6=On -DWITH_QCHART=On -DBUILD_ONLINE_HELP=On || exit /b !errorlevel! + # cmake --build build --target cppcheck-gui --config Release || exit /b !errorlevel! + + # - name: Deploy GUI + # run: | + # windeployqt build\bin\Release || exit /b !errorlevel! + # del build\bin\Release\cppcheck-gui.ilk || exit /b !errorlevel! + # del build\bin\Release\cppcheck-gui.pdb || exit /b !errorlevel! # TODO: run GUI tests