Create meson-build.yml

This commit is contained in:
Jeffry Samuel 2024-08-04 19:21:04 -06:00 committed by GitHub
parent b52061f849
commit 9e74d8af0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

30
.github/workflows/meson-build.yml vendored Normal file
View File

@ -0,0 +1,30 @@
# .github/workflows/meson-build.yml
name: Meson Build
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y meson ninja-build
- name: Checkout Code
uses: actions/checkout@v2
- name: Configure Build with Meson
run: |
meson setup builddir
- name: Build Project with Meson
run: |
meson compile -C builddir
- name: Run Tests with Meson
run: |
meson test -C builddir