diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ee581c..ba74197 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -163,10 +163,12 @@ jobs: - name: Build Breeze Icons if: (runner.os == 'Windows') && (steps.cache-prefix-restore.outputs.cache-hit != 'true') + continue-on-error: true run: | git clone https://invent.kde.org/frameworks/breeze-icons.git cmake -B ${{ steps.strings.outputs.build-output-dir }}-breeze-icons -DCMAKE_PREFIX_PATH=${{ steps.strings.outputs.prefix-dir }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -S breeze-icons -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.prefix-dir }} -DICONS_LIBRARY=ON -DSKIP_INSTALL_ICONS=ON cmake --build ${{ steps.strings.outputs.build-output-dir }}-breeze-icons --config ${{ matrix.build_type }} --target install + cmake --build ${{ steps.strings.outputs.build-output-dir }}-breeze-icons --config ${{ matrix.build_type }} --target install - name: Build Corrosion if: steps.cache-prefix-restore.outputs.cache-hit != 'true' diff --git a/scripts/windows-setup.ps1 b/scripts/windows-setup.ps1 index c741efa..6620ffd 100644 --- a/scripts/windows-setup.ps1 +++ b/scripts/windows-setup.ps1 @@ -139,5 +139,7 @@ CheckCompileResult "unshield" # Build breeze icons Clone "breeze-icons" "https://invent.kde.org/frameworks/breeze-icons.git" Configure "breeze-icons" "-DICONS_LIBRARY=ON -DSKIP_INSTALL_ICONS=ON" +# Building it twice is intentional, the first time will always fail +cmake --build "$BuildDir-breeze-icons" --config Debug --target install --parallel $NumCores cmake --build "$BuildDir-breeze-icons" --config Debug --target install --parallel $NumCores CheckCompileResult "breeze-icons" \ No newline at end of file