Update workflow to build flatpaks instead

This commit is contained in:
Zachary Hall 2023-07-18 10:59:58 -07:00
parent 15450e079d
commit eace21d908

View file

@ -11,9 +11,9 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: Install dependencies - name: Install dependencies
run: apt update && apt install -y build-essential meson cmake libsoundtouch-dev libsdl2-dev libsdl2-image-dev libjsoncpp-dev libmodplug-dev libwavpack-dev libopusfile-dev libopus-dev libogg-dev libportal-dev run: apt update && apt install -y flatpak-builder flatpak && flatpak install -y --noninteractive org.freedesktop.Platform//22.08 org.freedesktop.Sdk//22.08
- name: Build project - name: Build project
run: meson setup builddir && meson compile -C builddir run: flatpak-builder build-flatpak com.experimentalcraft.NekoPlayer.yml --repo ./flatpak-repo
#- uses: actions/upload-artifact@v3 #- uses: actions/upload-artifact@v3
# with: # with:
# name: build # name: build