Skip to content

Add meson build system #2

Add meson build system

Add meson build system #2

Workflow file for this run

name: Meson
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
on:
push:
branches: [ develop ]
paths:
- 'source/**/**'
- '**meson.build'
- '**/meson.yml'
pull_request:
branches: [ develop ]
paths:
- 'source/**/**'
- '**meson.build'
- '**/meson.yml'
jobs:
meson:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Get dependencies
run: |
sudo mk/linux/setupBuildDeps.sh
sudo apt install -y meson
# Using pip is only required if a newer version of meson is required
# sudo apt-get install -y python3-pip python3-setuptools # required for pip
# sudo -H python3 -m pip install meson ninja
- name: Build
run: |
meson setup builddir
cd builddir
meson compile -v