Files
json-parser/.github/workflows/build-and-test.yml
2023-04-28 18:32:15 +02:00

27 lines
459 B
YAML

name: Build and test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: make (BUILD=debug)
run: make
- name: make (BUILD=release)
run: make BUILD=release
- name: Run tests
run: ./test.sh
- name: Test output against jq
run: ./bin/release/parse sample-files/large-file.json | jq >/dev/null