2023-07-15 17:31:33 -07:00
|
|
|
name: Build
|
|
|
|
run-name: Build the project
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-07-15 18:22:25 -07:00
|
|
|
runs-on: ubuntu-latest
|
2023-07-15 17:31:33 -07:00
|
|
|
steps:
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install dependencies
|
2023-07-15 18:00:26 -07:00
|
|
|
run: apt update && apt install -y build-essential meson libsoundtouch-dev libsdl2-dev libsdl2-image-dev libjsoncpp-dev libmodplug-dev libwavpack-dev libopusfile-dev libopus-dev libogg-dev
|
2023-07-15 17:31:33 -07:00
|
|
|
- name: Build project
|
|
|
|
run: meson setup builddir && meson compile -C builddir
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
name: build
|
|
|
|
path: builddir/player
|