Draft: Repeater DB changes #81
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: linux | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build-qmake-qt5: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Qt | |
uses: jurplel/[email protected] | |
with: | |
version: '5.12.*' | |
setup-python: false | |
- name: build-dir | |
run: mkdir build | |
- name: qmake | |
run: cd build && qmake ../CloudLogOffline.pro PREFIX=$GITHUB_WORKSPACE/install QMAKE_CXXFLAGS+=-Wno-deprecated-copy | |
- 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-qt6: | |
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: test | |
run: cd build && CTEST_OUTPUT_ON_FAILURE=1 QT_QPA_PLATFORM=offscreen cmake --build . --target test | |
- name: install | |
run: cd build && cmake --build . --target install | |
- name: list files | |
run: cd $GITHUB_WORKSPACE && find install |