ci add Makefile test

This commit is contained in:
embeddedt
2022-04-29 19:38:04 -04:00
parent bf0a0d543b
commit ea79cee01a
3 changed files with 37 additions and 0 deletions

21
.github/workflows/makefile.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Check Makefile
on:
push:
branches: [ master, release/v8.* ]
pull_request:
branches: [ master, release/v8.* ]
jobs:
build:
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
runs-on: ubuntu-latest
name: Build using Makefile
steps:
- uses: actions/checkout@v2
- uses: ammaraskar/gcc-problem-matcher@master
- name: Install prerequisites
run: scripts/install-prerequisites.sh
- name: Build
working-directory: tests/makefile
run: make test_file