diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5d70981..a211b8d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -163,6 +163,13 @@ jobs: cmake -B ${{ steps.strings.outputs.build-output-dir }}-qcoro -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 qcoro -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.prefix-dir }} -DBUILD_TESTING=OFF cmake --build ${{ steps.strings.outputs.build-output-dir }}-qcoro --config ${{ matrix.build_type }} --target install + - name: Build QtKeychain + if: steps.cache-prefix-restore.outputs.cache-hit != 'true' + run: | + git clone https://github.com/frankosterfeld/qtkeychain.git + cmake -B ${{ steps.strings.outputs.build-output-dir }}-qtkeychain -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 qtkeychain -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.prefix-dir }} -DBUILD_TESTING=OFF + cmake --build ${{ steps.strings.outputs.build-output-dir }}-qtkeychain --config ${{ matrix.build_type }} --target install + - name: Save Prefix id: cache-prefix-save uses: actions/cache/save@v4 diff --git a/scripts/windows-setup.ps1 b/scripts/windows-setup.ps1 index 89e29ca..8843ea4 100644 --- a/scripts/windows-setup.ps1 +++ b/scripts/windows-setup.ps1 @@ -114,3 +114,9 @@ Clone "qcoro" "https://github.com/danvratil/qcoro.git" Configure "qcoro" "-DBUILD_TESTING=OFF" cmake --build "$BuildDir-qcoro" --config Debug --target install --parallel $NumCores CheckCompileResult "qcoro" + +# Build QtKeychain +Clone "qcoro" "https://github.com/frankosterfeld/qtkeychain.git" +Configure "qtkeychain" "-DBUILD_TESTING=OFF" +cmake --build "$BuildDir-qtkeychain" --config Debug --target install --parallel $NumCores +CheckCompileResult "qtkeychain" \ No newline at end of file