Skip to content

Refactor maidenhead code #70

Refactor maidenhead code

Refactor maidenhead code #70

Workflow file for this run

name: linux
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Qt
uses: jurplel/[email protected]
with:
version: '6.6.*'
setup-python: false
modules: 'qtpositioning'
- 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: 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