looper/.gitea/workflows/compile.yaml

22 lines
852 B
YAML
Raw Normal View History

2023-07-15 17:31:33 -07:00
name: Build
run-name: Build the project
on: [push]
jobs:
build:
runs-on: ubuntu-latest
2023-07-15 17:31:33 -07:00
steps:
- name: Check out repository code
uses: actions/checkout@v3
2023-07-15 18:46:18 -07:00
with:
submodules: recursive
2023-07-18 11:01:57 -07:00
- name: Install flatpak and flatpak-builder
run: apt update && apt install -y flatpak-builder flatpak
- name: Add flathub repo and install flatpak dependencies \
run: flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo && flatpak install -y --noninteractive org.freedesktop.Platform//22.08 org.freedesktop.Sdk//22.08
2023-07-15 17:31:33 -07:00
- name: Build project
run: flatpak-builder build-flatpak com.experimentalcraft.NekoPlayer.yml --repo ./flatpak-repo
#- uses: actions/upload-artifact@v3
# with:
# name: build
# path: builddir/player