-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
49 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: make all | ||
|
||
on: [ pull_request ] | ||
|
||
jobs: | ||
buildTest: | ||
name: make all | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ macOS-13 ] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: make all | ||
run: tools/make-all.sh |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
PROJECTS="libusb libconn libbtstack libadb bootloader device_bootloader app_layer_v1 blink latency_tester" | ||
|
||
if [[ -z "$MAKE" ]] && which colormake > /dev/null 2>&1 ; then | ||
MAKE=colormake | ||
else | ||
MAKE=make | ||
fi | ||
|
||
unameOut="$(uname -s)" | ||
case "${unameOut}" in | ||
Linux*) PRJMAKEFILEGENERATOR=prjMakefilesGenerator.sh;; | ||
Darwin*) PRJMAKEFILEGENERATOR=prjMakefilesGenerator.sh;; | ||
CYGWIN*) PRJMAKEFILEGENERATOR=prjMakefilesGenerator.sh;; | ||
//MINGW*) PRJMAKEFILEGENERATOR=prjMakefilesGenerator.sh;; | ||
*) PRJMAKEFILEGENERATOR=prjMakefilesGenerator.bat | ||
esac | ||
|
||
echo PRJMAKEFILEGENERATOR=$PRJMAKEFILEGENERATOR | ||
|
||
for PROJ in $PROJECTS; do | ||
echo =========================================== | ||
echo make "$PROJ" | ||
echo =========================================== | ||
if ! $PRJMAKEFILEGENERATOR firmware/"$PROJ"; then echo "WARNING: failed to regenerate Makefiles."; fi | ||
if ! $MAKE -C firmware/"$PROJ" "$@"; then echo FAILURE ; exit 1 ; fi | ||
done | ||
echo SUCCESS | ||
|