Merge pull request 'fix: 修正缺失构建平台的错误' (#33) from feature/route into main
CI / host (push) Successful in 2s
CI / cortex-m (push) Successful in 3s
Release / release (push) Successful in 9s

Reviewed-on: #33
This commit was merged in pull request #33.
This commit is contained in:
2026-07-27 00:15:18 +08:00
+1
View File
@@ -111,6 +111,7 @@ jobs:
cmake -S . -B "build-$name" \ cmake -S . -B "build-$name" \
-DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF \ -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF \
-DCMAKE_C_COMPILER=arm-none-eabi-gcc \ -DCMAKE_C_COMPILER=arm-none-eabi-gcc \
-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY \
-DCMAKE_C_FLAGS="$flags" -DCMAKE_C_FLAGS="$flags"
cmake --build "build-$name" cmake --build "build-$name"
cmake --install "build-$name" --prefix "dist/datarouter-$name" cmake --install "build-$name" --prefix "dist/datarouter-$name"