Update ci.yml

This commit is contained in:
Nayla 2024-10-10 07:50:48 -04:00 committed by GitHub
commit 71769af756
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,24 +7,30 @@ on:
jobs: jobs:
build_flatpak: build_flatpak:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: bilelmoussaoui/flatpak-github-actions:gnome-44 container:
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Purge .git for space reasons
run: rm -rf /home/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/.git
- name: Setup Packages - name: Setup Packages
run: | run: sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && sudo flatpak install org.kde.Sdk//5.15 org.kde.Platform//5.15 -y && sudo dnf install libusb1-devel cmake git gcc-c++ libXext-devel libgudev qt6-qtbase-devel systemd-devel openal-soft-devel libevdev-devel libao-devel SOIL-devel libXrandr-devel pulseaudio-libs-devel bluez-libs-devel p7zip SDL2-devel -y
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - name: Run Flatpak Builder
sudo flatpak install org.kde.Sdk//5.15 org.kde.Platform//5.15 -y uses: flatpak/flatpak-github-actions@v2
sudo dnf install libusb1-devel cmake git gcc-c++ libXext-devel libgudev qt6-qtbase-devel systemd-devel openal-soft-devel libevdev-devel libao-devel SOIL-devel libXrandr-devel pulseaudio-libs-devel bluez-libs-devel p7zip SDL2-devel -y with:
- name: Build manifest-path: Distribution/flatpak.yml
run: flatpak-builder --user --install --force-clean build-dir Distribution/flatpak.yml bundle: DolphinMPN-linux.flatpak
- name: Upload Build Artifact - name: Upload Build Artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: DolphinMPN-flatpak name: DolphinMPN-Linux-flatpak
path: Distribution/OUT/ path: /home/runner/work/Dolphin-MPN-src/Dolphin-MPN-src/Distribution/OUT
build_appimage: build_appimage:
runs-on: ubuntu-latest runs-on: ubuntu-latest