mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-12 04:42:13 +08:00
Bring back macOS CI (#32819)
* Attempt to enable macos CI * add SKIP_PROMPT * test * add python warnings env variable * pull from lfs * use v4 checkout * Update selfdrive_tests.yaml --------- Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com> old-commit-hash: 0c9f1d8118081d90d9f867448ccf1c2fcaa794eb
This commit is contained in:
@@ -86,6 +86,23 @@ jobs:
|
||||
docker_hub_pat: ${{ secrets.DOCKER_HUB_PAT }}
|
||||
- uses: ./.github/workflows/compile-openpilot
|
||||
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 15 || 30) }} # allow more time when we missed the scons cache
|
||||
|
||||
build_mac:
|
||||
name: build macos
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- run: git lfs pull
|
||||
- name: Install dependencies
|
||||
run: ./tools/mac_setup.sh
|
||||
env:
|
||||
SKIP_PROMPT: 1
|
||||
# package install has DeprecationWarnings
|
||||
PYTHONWARNINGS: default
|
||||
- name: Test openpilot environment
|
||||
run: poetry run scons -h
|
||||
|
||||
static_analysis:
|
||||
name: static analysis
|
||||
|
||||
Reference in New Issue
Block a user