mirror of https://github.com/commaai/openpilot.git
mac's getting there
This commit is contained in:
parent
ed86910536
commit
c8622c9553
|
@ -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
|
||||
|
||||
build_mac:
|
||||
name: build macos
|
||||
name: build macOS
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -106,7 +106,6 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: ./tools/mac_setup.sh
|
||||
env:
|
||||
SKIP_PROMPT: 1
|
||||
# package install has DeprecationWarnings
|
||||
PYTHONWARNINGS: default
|
||||
- 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
|
||||
|
||||
if [ -z "$SKIP_PROMPT" ]; then
|
||||
echo "--------------- macOS support ---------------"
|
||||
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
|
||||
echo "Check out devcontainers for a seamless experience (see tools/README.md)."
|
||||
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
|
||||
echo "--------------- macOS support ---------------"
|
||||
echo "Running openpilot natively on macOS is still a work-in-progress."
|
||||
echo "It might build, some parts of it might work, but it's not fully tested, so there might be some issues."
|
||||
echo
|
||||
echo "Check out devcontainers for a seamless experience (see tools/README.md)."
|
||||
echo "-------------------------------------------------"
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||
ROOT="$(cd $DIR/../ && pwd)"
|
||||
|
|
Loading…
Reference in New Issue