mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-18 14:43:44 +08:00
7da824b050
# Conflicts: # .gitmodules # .lfsconfig # opendbc_repo # openpilot/selfdrive/modeld/SConscript # openpilot/selfdrive/modeld/modeld.py # openpilot/selfdrive/ui/mici/layouts/settings/toggles.py # openpilot/system/sentry.py # panda # scripts/lint/lint.sh # tinygrad_repo # tools/release/build_stripped.sh # tools/release/check-submodules.sh # uv.lock
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
name: release
|
|
on:
|
|
schedule:
|
|
- cron: '0 9 * * *'
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
GIT_CONFIG_COUNT: 1
|
|
GIT_CONFIG_KEY_0: lfs.fetchexclude
|
|
GIT_CONFIG_VALUE_0: openpilot/selfdrive/modeld/models/big_driving_tinygrad.pkl
|
|
|
|
jobs:
|
|
build___nightly:
|
|
name: build __nightly
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'sunnypilot/sunnypilot'
|
|
permissions:
|
|
checks: read
|
|
contents: write
|
|
steps:
|
|
- name: Wait for green check mark
|
|
if: ${{ github.event_name == 'schedule' }}
|
|
uses: lewagon/wait-on-check-action@1d57e2c51a58d812d2765e036a028b6bdb5a6154
|
|
with:
|
|
ref: master
|
|
wait-interval: 30
|
|
running-workflow-name: 'build __nightly'
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
check-regexp: ^((?!.*(build prebuilt|create badges).*).)*$
|
|
- uses: actions/checkout@v4 # checkout version > v4 breaks nightly release script
|
|
with:
|
|
submodules: true
|
|
fetch-depth: 0
|
|
- run: ./tools/op.sh setup
|
|
- name: Push __nightly
|
|
run: BRANCH=__nightly tools/release/build_stripped.sh
|
|
- name: Push chestnut nightly
|
|
run: |
|
|
git lfs pull --exclude=''
|
|
INCLUDE_BIG_MODEL=1 BRANCH=__nightly-chestnut tools/release/build_stripped.sh
|