mac's getting there

pull/33075/head
Adeeb Shihadeh 9 months ago
parent ed86910536
commit c8622c9553
  1. 3
      .github/workflows/selfdrive_tests.yaml
  2. 19
      tools/mac_setup.sh

@ -96,7 +96,7 @@ jobs:
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 15 || 30) }} # allow more time when we missed the scons cache timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 15 || 30) }} # allow more time when we missed the scons cache
build_mac: build_mac:
name: build macos name: build macOS
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -106,7 +106,6 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: ./tools/mac_setup.sh run: ./tools/mac_setup.sh
env: env:
SKIP_PROMPT: 1
# package install has DeprecationWarnings # package install has DeprecationWarnings
PYTHONWARNINGS: default PYTHONWARNINGS: default
- run: echo "CACHE_COMMIT_DATE=$(git log -1 --pretty='format:%cd' --date=format:'%Y-%m-%d-%H:%M')" >> $GITHUB_ENV - run: echo "CACHE_COMMIT_DATE=$(git log -1 --pretty='format:%cd' --date=format:'%Y-%m-%d-%H:%M')" >> $GITHUB_ENV

@ -2,19 +2,12 @@
set -e set -e
if [ -z "$SKIP_PROMPT" ]; then echo "--------------- macOS support ---------------"
echo "--------------- macOS support ---------------" echo "Running openpilot natively on macOS is still a work-in-progress."
echo "Running openpilot natively on macOS is not officially supported." echo "It might build, some parts of it might work, but it's not fully tested, so there might be some issues."
echo "It might build, some parts of it might work, but it's not fully tested, so there might be some issues." echo
echo echo "Check out devcontainers for a seamless experience (see tools/README.md)."
echo "Check out devcontainers for a seamless experience (see tools/README.md)." echo "-------------------------------------------------"
echo "-------------------------------------------------"
echo -n "Are you sure you want to continue? [y/N] "
read -r response
if [[ ! "$response" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
exit 1
fi
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
ROOT="$(cd $DIR/../ && pwd)" ROOT="$(cd $DIR/../ && pwd)"

Loading…
Cancel
Save