mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
|
|
name: Flatpak Verify
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
push:
|
|
tags:
|
|
- v*
|
|
branches: [ master, dev]
|
|
pull_request:
|
|
branches: [ master ]
|
|
# # Allows you to run this workflow manually from the Actions tab
|
|
# workflow_dispatch:
|
|
|
|
jobs:
|
|
flatpak:
|
|
name: "Flatpak"
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08
|
|
options: --privileged
|
|
strategy:
|
|
matrix:
|
|
arch: [x86_64]
|
|
# Don't fail the whole workflow if one architecture fails
|
|
fail-fast: false
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: 'recursive'
|
|
- name: Prepare
|
|
run: |
|
|
yum install -y p7zip p7zip-plugins nodejs
|
|
cd compiler && npm install
|
|
cat /etc/issue
|
|
7z
|
|
# Docker is required by the docker/setup-qemu-action which enables emulation
|
|
- name: Install deps
|
|
run: |
|
|
dnf -y install docker
|
|
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
|
|
env:
|
|
ACTION_MODE: true
|
|
with:
|
|
bundle: wechat-devtools.flatpak
|
|
manifest-path: io.github.msojocs.wechat-devtools.yml
|
|
arch: ${{ matrix.arch }} |