Skip to content

Commit cd85198

Browse files
committed
test p2
1 parent 02b2b9d commit cd85198

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,31 @@ jobs:
5656
df . -h
5757
sudo rm -rf ${GITHUB_WORKSPACE}/.git
5858
df . -h
59-
59+
build_flatpak:
60+
runs-on: ubuntu-latest
61+
container:
62+
image: bilelmoussaoui/flatpak-github-actions:gnome-nightly
63+
options: --privileged
64+
steps:
65+
- uses: actions/checkout@v2
66+
- name: Purge .git for space reasons
67+
run: rm -rf /home/runner/work/Project-Plus-Dolphin-src/Project-Plus-Dolphin-src/.git
68+
- name: Setup Packages
69+
run: |
70+
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && \
71+
flatpak install org.kde.Sdk//5.15 org.kde.Platform//5.15 -y && \
72+
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 make automake gcc gcc-c++ kernel-devel -y
73+
- name: Dolphin-Build Number
74+
run: |
75+
export LASTCOMMIT=$(git log --pretty=format:%H -1)
76+
export DOLPHINVER="v3.1.2-mainline-beta.2"
77+
echo "DOLPHIN Build $DOLPHINVER"
78+
echo "DOLPHINVER=$DOLPHINVER" >> $GITHUB_ENV
79+
sed -i "s|\${DOLPHIN_WC_DESCRIBE}|$DOLPHINVER|g" Source/Core/Common/scmrev.h.in
80+
- name: Run Flatpak Builder
81+
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
82+
with:
83+
manifest-path: Distribution/flatpak/flatpak.yml
84+
bundle: Project-Plus-Dolphin-${{ env.DOLPHINVER }}.flatpak
6085

6186

0 commit comments

Comments
 (0)