Create workflow
This commit is contained in:
parent
8a232d873b
commit
7a3b54a94f
1 changed files with 18 additions and 0 deletions
18
.gitea/workflows/compile.yaml
Normal file
18
.gitea/workflows/compile.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
name: Build
|
||||||
|
run-name: Build the project
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Install dependencies
|
||||||
|
run: apt update && apt install build-essential meson libsoundtouch-dev libsdl2-dev libsdl2-image-dev libjsoncpp-dev libmodplug-dev libwavpack-dev libopusfile-dev libopus-dev libogg-dev
|
||||||
|
- name: Build project
|
||||||
|
run: meson setup builddir && meson compile -C builddir
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: build
|
||||||
|
path: builddir/player
|
Loading…
Reference in a new issue