forked from flathub/com.qq.QQ
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (40 loc) · 1.01 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build flatpak manifest
on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
container:
# https://github.com/flatpak/flatpak-github-actions?tab=readme-ov-file#docker-image
image: bilelmoussaoui/flatpak-github-actions:freedesktop-23.08
options: --privileged
permissions:
contents: read
strategy:
matrix:
arch:
- x86_64
- aarch64
steps:
- uses: actions/checkout@v4
- name: Install deps
if: ${{ matrix.arch == 'aarch64' }}
run: dnf -y install docker
- name: Setup QEMU
if: ${{ matrix.arch == 'aarch64' }}
id: qemu
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: com.qq.QQ.flatpak
manifest-path: com.qq.QQ.yaml
arch: ${{ matrix.arch }}
branch: liteloader