mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-10 00:41:19 +12:00
Check Linux dist files in CI
This commit is contained in:
parent
d94ecfe078
commit
179a8b5dc2
1 changed files with 37 additions and 0 deletions
37
.github/workflows/linux-dist-check.yml
vendored
Normal file
37
.github/workflows/linux-dist-check.yml
vendored
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
name: Linux dist check
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "dist/linux/info.cemu.Cemu.desktop"
|
||||||
|
- "dist/linux/info.cemu.Cemu.metainfo.xml"
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- synchronize
|
||||||
|
- reopened
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- "dist/linux/info.cemu.Cemu.desktop"
|
||||||
|
- "dist/linux/info.cemu.Cemu.metainfo.xml"
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-ubuntu:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
container:
|
||||||
|
image: archlinux:latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: "Install packages"
|
||||||
|
run: |
|
||||||
|
pacman --noconfirm -Syy
|
||||||
|
pacman --noconfirm -S desktop-file-utils appstream
|
||||||
|
- name: "Check .desktop"
|
||||||
|
run:
|
||||||
|
desktop-file-validate ./dist/linux/info.cemu.Cemu.desktop
|
||||||
|
|
||||||
|
- name: "Check AppStream"
|
||||||
|
run:
|
||||||
|
appstreamcli validate --explain ./dist/linux/info.cemu.Cemu.metainfo.xml
|
Loading…
Add table
Add a link
Reference in a new issue