feat: create firmware skeleton and reproducible build
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
project_directory=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
||||
test_directory=$(mktemp -d "${TMPDIR:-/tmp}/maze32-host-tests.XXXXXX")
|
||||
trap 'rm -rf "$test_directory"' EXIT HUP INT TERM
|
||||
|
||||
cc -std=c11 -Wall -Wextra -Werror -pedantic \
|
||||
-I"$project_directory/components/maze32_platform/include" \
|
||||
"$project_directory/components/maze32_platform/maze32_health.c" \
|
||||
"$project_directory/test/host/test_health.c" \
|
||||
-o "$test_directory/test_health"
|
||||
|
||||
"$test_directory/test_health"
|
||||
python3 "$project_directory/scripts/verify_web_assets.py"
|
||||
Reference in New Issue
Block a user