Skip to content

Commit 409d90b

Browse files
committed
The CI should build all the samples too
1 parent 7e2693f commit 409d90b

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

‎.github/workflows/Build.yml‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Publish Docs
1+
name: Build
22
on:
33
pull_request:
44
push:
@@ -41,4 +41,13 @@ jobs:
4141
echo "PKG_CONFIG_PATH=$(brew --prefix libarchive)/lib/pkgconfig:$(brew --prefix openssl)/lib/pkgconfig" >> $GITHUB_ENV
4242
fi
4343
- name: Runs build in shell
44-
run: make
44+
run: make
45+
46+
- name: Build all samples
47+
run: |
48+
for d in samples/*/ ; do
49+
if [ -f "$d/makefile" ] || [ -f "$d/Makefile" ]; then
50+
echo "Building $d"
51+
make -C "$d"
52+
fi
53+
done

0 commit comments

Comments
 (0)