18 lines
607 B
YAML
18 lines
607 B
YAML
|
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
|