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:
parent
181219b184
commit
4dcef943e6
2 changed files with 13 additions and 0 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
@ -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 -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
|
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
|
- name: Save Prefix
|
||||||
id: cache-prefix-save
|
id: cache-prefix-save
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v4
|
||||||
|
|
|
@ -114,3 +114,9 @@ Clone "qcoro" "https://github.com/danvratil/qcoro.git"
|
||||||
Configure "qcoro" "-DBUILD_TESTING=OFF"
|
Configure "qcoro" "-DBUILD_TESTING=OFF"
|
||||||
cmake --build "$BuildDir-qcoro" --config Debug --target install --parallel $NumCores
|
cmake --build "$BuildDir-qcoro" --config Debug --target install --parallel $NumCores
|
||||||
CheckCompileResult "qcoro"
|
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"
|
Loading…
Add table
Reference in a new issue