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
|
2023-07-15 18:46:18 -07:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
2023-07-15 17:31:33 -07:00
|
|
|
- name: Install dependencies
|
2023-07-15 18:43:55 -07:00
|
|
|
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
|
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
|