diff --git a/.gitea/workflows/compile.yaml b/.gitea/workflows/compile.yaml new file mode 100644 index 0000000..4279c28 --- /dev/null +++ b/.gitea/workflows/compile.yaml @@ -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 \ No newline at end of file