Don't build example on windows CI
This commit is contained in:
parent
460a44e7e6
commit
cd641072ab
|
@ -56,6 +56,7 @@ jobs:
|
||||||
run: cmake --build build/ --config Release --target qtk_gui ${{ matrix.flags }}
|
run: cmake --build build/ --config Release --target qtk_gui ${{ matrix.flags }}
|
||||||
|
|
||||||
- name: Build Qtk Example
|
- name: Build Qtk Example
|
||||||
|
if: matrix.os != 'windows-latest'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build build/ --config Release --target qtk_example ${{ matrix.flags }}
|
run: cmake --build build/ --config Release --target qtk_example ${{ matrix.flags }}
|
||||||
|
|
||||||
|
|
|
@ -62,11 +62,12 @@ custom installation directory.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cmake -S /path/to/qtk/example-app/ -B /path/to/qtk/example-app/build -DQTK_PATH=/path/to/qtk/install/
|
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 -
|
After this, we can run the example application -
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./path/to/qtk/example-app/build/bin/example
|
./path/to/qtk/example-app/build/install/bin/example
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue