Skip to content

Fix install arch for qt desktop #35

Fix install arch for qt desktop

Fix install arch for qt desktop #35

Workflow file for this run

name: CI
on:
push:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-desktop:
runs-on: ubuntu-24.04
container:
image: bernedom/qtandroidbuilder:latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Configure
run: cmake --preset ci-ninja-desktop-debug
- name: Build
run: cmake --build build
- name: Test
run: ctest --output-on-failure
working-directory: build
build-android:
runs-on: ubuntu-24.04
container:
image: bernedom/qtandroidbuilder:latest
strategy:
matrix:
arch: [arm64-v8a, armeabi-v7a, x86_64]
build_type: [debug, release]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Configure
run: cmake --preset ci-ninja-android-${{ matrix.arch }}-${{ matrix.build_type }}
- name: Build
run: cmake --build build_android
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: apk-${{ matrix.build_type }}-${{ matrix.arch }}
path: ./build_android/QRLite/android-build/QRLite.apk
retention-days: 7