From 0c9f1d8118081d90d9f867448ccf1c2fcaa794eb Mon Sep 17 00:00:00 2001 From: pantew869 Date: Wed, 26 Jun 2024 20:47:25 +0300 Subject: [PATCH] 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 --- .github/workflows/selfdrive_tests.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/selfdrive_tests.yaml b/.github/workflows/selfdrive_tests.yaml index ea591cbf47..b042ae0435 100644 --- a/.github/workflows/selfdrive_tests.yaml +++ b/.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