mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-21 09:49:01 +00:00
Create flatpak.yml (#12)
* Create flatpak.yml * Update flatpak.yml * Update flatpak.yml * Update flatpak.yml * Update flatpak.yml
This commit is contained in:
parent
a2124fd057
commit
5ff216147d
1 changed files with 38 additions and 0 deletions
38
.github/workflows/flatpak.yml
vendored
Normal file
38
.github/workflows/flatpak.yml
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: Linux-Flatpak CI
|
||||
|
||||
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||
# events but only for the master branch
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
# Setup Packages
|
||||
- name: Setup Packages
|
||||
run: sudo apt install build-essential git cmake ffmpeg libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libevdev-dev libusb-1.0-0-dev libxrandr-dev libxi-dev libpangocairo-1.0-0 qt6-base-private-dev libbluetooth-dev libasound2-dev libpulse-dev libgl1-mesa-dev libudev-dev libsystemd-dev dpkg-dev flatpak flatpak-builder
|
||||
# Setup Flatpak
|
||||
- name: Setup Flatpak SDK
|
||||
run: flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && flatpak install org.kde.Sdk//5.15 org.kde.Platform//5.15 -y
|
||||
# Run Flatpak Builder
|
||||
- name: Run Flatpak Builder
|
||||
run: flatpak-builder --repo=/home/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/.flatpak/repo /home/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/build /home/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/.flatpak/flatpak.yml
|
||||
# Flatpak Build Bundle
|
||||
- name: Run Flatpak Bundler
|
||||
run: flatpak build-bundle /home/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/.flatpak/repo DolphinMPN.flatpak org.DolphinEmu.dolphin-mpn\
|
||||
# Upload Artifact
|
||||
- name: Upload Build Artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: DolphinMPN-Linux
|
||||
path: /home/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/.flatpak
|
Loading…
Add table
Add a link
Reference in a new issue