Skip to content

Commit

Permalink
GHA: Build with CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Aug 17, 2024
1 parent 67fd005 commit 7d993a7
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,34 @@ jobs:
version: '6.6.*'
setup-python: false
modules: 'qtpositioning'
- name: build-dor
- name: build-dir
run: mkdir build
- name: qmake
run: cd build && qmake ../CloudLogOffline.pro PREFIX=$GITHUB_WORKSPACE/install CONFIG+=qtquickcompiler
- name: make
run: cd build && make -j5
- name: make install
run: cd build && make install
- name: list files
run: cd $GITHUB_WORKSPACE && find install

build-cmake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install ninja
uses: seanmiddleditch/gha-setup-ninja@v5
- name: Install Qt
uses: jurplel/[email protected]
with:
version: '6.6.*'
setup-python: false
modules: 'qtpositioning'
- name: configure
run: mkdir build && cmake -G Ninja -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install
- name: build
run: cd build && cmake --build .
- name: install
run: cd build && cmake --build . --target install
- name: list files
run: cd $GITHUB_WORKSPACE && find install

0 comments on commit 7d993a7

Please sign in to comment.