Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 0 additions & 110 deletions .github/workflows/Android-CI.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/make-all.yml
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
25 changes: 0 additions & 25 deletions tools/make-all

This file was deleted.

30 changes: 30 additions & 0 deletions tools/make-all.sh
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