Skip to content

Commit d2edc04

Browse files
committed
github actions: Add a Makefile build
Test the gnu makefile build in github repositories to help find breakage when changes are proposed.
1 parent 49e1afa commit d2edc04

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/makefile.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Makefile
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
7+
MakefileBuild:
8+
name: Makefile/${{ matrix.config.name }}
9+
runs-on: ${{ matrix.config.os }}
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
config:
14+
- {
15+
name: "Linux/GCC",
16+
os: ubuntu-latest,
17+
compiler: gcc,
18+
}
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Build
22+
run: make -f Makefile.unix -j 2
23+
- name: Test
24+
run: make -f Makefile.unix check -j 2
25+
- name: Clean
26+
run: make -f Makefile.unix clean

0 commit comments

Comments
 (0)