mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-06 20:43:46 +08:00
Build Panda host binaries for comma hardware
This commit is contained in:
@@ -38,7 +38,9 @@ jobs:
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/Dom'
|
||||
run: python3 tools/ci/check_prebuilt_receipt.py --revision HEAD
|
||||
- name: Check shipped device runtime dependencies
|
||||
run: python3 -m unittest tools.laptop_device_build.tests.test_runtime_dependencies -v
|
||||
run: |
|
||||
python3 -m unittest tools.laptop_device_build.tests.test_runtime_dependencies -v
|
||||
python3 -c 'from pathlib import Path; assert b"starting pandad (comma hardware)" in Path("openpilot/selfdrive/pandad/pandad").read_bytes(), "Shipped pandad must use the comma hardware build profile"'
|
||||
- name: Validate tracked dependencies
|
||||
run: python3 tools/vendor/check.py --revision HEAD
|
||||
- run: ./tools/op.sh setup
|
||||
|
||||
Binary file not shown.
@@ -6,7 +6,11 @@
|
||||
#include "common/hardware/hw.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
LOGW("starting pandad");
|
||||
#if __COMMA_HARDWARE__
|
||||
LOGW("starting pandad (comma hardware)");
|
||||
#else
|
||||
LOGW("starting pandad (PC)");
|
||||
#endif
|
||||
|
||||
if (!Hardware::PC()) {
|
||||
int err;
|
||||
|
||||
Binary file not shown.
+1
-1
@@ -1 +1 @@
|
||||
{"protected_inventory_sha256": "40521b42a0a738ed0346b641a0419b8e172f0760fd6889f3f7974318775933ca", "schema_version": 1}
|
||||
{"protected_inventory_sha256": "fae579a36e85bd4de2f49ef61f39c89c00a3f8392fe1ede3b8c791611fa7133e", "schema_version": 1}
|
||||
|
||||
Reference in New Issue
Block a user