mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-26 15:43:49 +03:00
ci(github): unify configure & build steps
This commit is contained in:
parent
8a125bc698
commit
b735405fd4
21
.github/workflows/build-check.yml
vendored
21
.github/workflows/build-check.yml
vendored
@ -39,17 +39,18 @@ jobs:
|
|||||||
libqt5x11extras5-dev \
|
libqt5x11extras5-dev \
|
||||||
libsqlite3-dev \
|
libsqlite3-dev \
|
||||||
libxcb-keysyms1-dev \
|
libxcb-keysyms1-dev \
|
||||||
|
ninja-build \
|
||||||
qt5-default \
|
qt5-default \
|
||||||
qtwebengine5-dev
|
qtwebengine5-dev
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure & Build
|
||||||
run: |
|
uses: lukka/run-cmake@v2
|
||||||
mkdir -p build
|
with:
|
||||||
cd build
|
buildDirectory: ${{ runner.workspace }}/build/
|
||||||
cmake -DZEAL_PORTABLE_BUILD="${{ matrix.config.options.ZEAL_PORTABLE_BUILD }}" ..
|
cmakeAppendedArgs: >-
|
||||||
|
-G Ninja
|
||||||
- name: Build
|
-DZEAL_PORTABLE_BUILD=${{ matrix.config.options.ZEAL_PORTABLE_BUILD }}
|
||||||
run: cmake --build build
|
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
|
||||||
|
|
||||||
build-windows:
|
build-windows:
|
||||||
name: ${{ matrix.config.name }}
|
name: ${{ matrix.config.name }}
|
||||||
@ -107,7 +108,9 @@ jobs:
|
|||||||
uses: lukka/run-cmake@v2
|
uses: lukka/run-cmake@v2
|
||||||
with:
|
with:
|
||||||
buildDirectory: ${{ runner.workspace }}/build/
|
buildDirectory: ${{ runner.workspace }}/build/
|
||||||
cmakeAppendedArgs: -GNinja -DZEAL_PORTABLE_BUILD=${{ matrix.config.options.ZEAL_PORTABLE_BUILD }}
|
cmakeAppendedArgs: >-
|
||||||
|
-G Ninja
|
||||||
|
-DZEAL_PORTABLE_BUILD=${{ matrix.config.options.ZEAL_PORTABLE_BUILD }}
|
||||||
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
|
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
|
||||||
useVcpkgToolchainFile: true
|
useVcpkgToolchainFile: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user