From cd641072abf97c46a34c75a4de507c575c533a89 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Sun, 2 Apr 2023 13:34:00 -0400 Subject: [PATCH] Don't build example on windows CI --- .github/workflows/all-builds.yml | 1 + example-app/README.md | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/all-builds.yml b/.github/workflows/all-builds.yml index 3ee7baa..dedf9a8 100644 --- a/.github/workflows/all-builds.yml +++ b/.github/workflows/all-builds.yml @@ -56,6 +56,7 @@ jobs: run: cmake --build build/ --config Release --target qtk_gui ${{ matrix.flags }} - name: Build Qtk Example + if: matrix.os != 'windows-latest' shell: bash run: cmake --build build/ --config Release --target qtk_example ${{ matrix.flags }} diff --git a/example-app/README.md b/example-app/README.md index 9dccf95..500ee10 100644 --- a/example-app/README.md +++ b/example-app/README.md @@ -62,11 +62,12 @@ custom installation directory. ```bash cmake -S /path/to/qtk/example-app/ -B /path/to/qtk/example-app/build -DQTK_PATH=/path/to/qtk/install/ -cmake --build /path/to/qtk/example-app/build +cmake --build /path/to/qtk/example-app/build --target qtk_example -- -j $(nproc) +cmake --install build/ --component qtk_example ``` After this, we can run the example application - ```bash -./path/to/qtk/example-app/build/bin/example +./path/to/qtk/example-app/build/install/bin/example ```