| 1 | name: test |
| 2 | on: |
| 3 | pull_request: |
| 4 | branches: |
| 5 | - '*' |
| 6 | |
| 7 | jobs: |
| 8 | test: |
| 9 | strategy: |
| 10 | matrix: |
| 11 | os: [ubuntu-latest, macos-latest, windows-latest] |
| 12 | runs-on: ${{ matrix.os }} |
| 13 | steps: |
| 14 | - name: Check out |
| 15 | uses: actions/checkout@v4 |
| 16 | with: |
| 17 | submodules: recursive |
| 18 | - name: Install dependencies |
| 19 | if: runner.os == 'macOs' |
| 20 | run: brew install gawk |
| 21 | - name: Build |
| 22 | run: make |
| 23 | - name: Test |
| 24 | run: make check |