mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-27 16:43:59 +08:00
22a8575199
Keep official openpilot ancestry and dependency licenses. Store resources directly in Git, remove LFS setup requirements, and leave the downloadable big model outside the source tree.
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
name: release
|
|
on:
|
|
schedule:
|
|
- cron: '0 9 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build_masterci:
|
|
name: build master-ci
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'commaai/openpilot'
|
|
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 master-ci'
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
check-regexp: ^((?!.*(build prebuilt|create badges).*).)*$
|
|
- uses: actions/checkout@v4 # checkout version > v4 breaks nightly release script
|
|
with:
|
|
fetch-depth: 0
|
|
- run: ./tools/op.sh setup
|
|
- name: Push master-ci
|
|
run: BRANCH=__nightly tools/release/build_stripped.sh
|
|
- name: Push chestnut nightly
|
|
run: |
|
|
INCLUDE_BIG_MODEL=1 BRANCH=__nightly-chestnut tools/release/build_stripped.sh
|