mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 03:03:57 +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: 0c9f1d8118
This commit is contained in:
17
.github/workflows/selfdrive_tests.yaml
vendored
17
.github/workflows/selfdrive_tests.yaml
vendored
@@ -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