name: meson build & test

on: [push, pull_request]

jobs:
  build:

    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-python@v1
    - uses: BSFishy/meson-build@v1.0.1
      with:
        action: build
        options: --verbose
    - uses: BSFishy/meson-build@v1.0.1
      with:
        action: test
        options: --verbose
