1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-18 07:07:45 +00:00

Build QtKeychain on Windows

This commit is contained in:
Joshua Goins 2024-04-25 19:52:09 -04:00
parent 181219b184
commit 4dcef943e6
2 changed files with 13 additions and 0 deletions

View file

@ -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

View file

@ -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"