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>
pull/32845/head
pantew869 10 months ago committed by GitHub
parent 669553aa37
commit 0c9f1d8118
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 17
      .github/workflows/selfdrive_tests.yaml

@ -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

Loading…
Cancel
Save