mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-27 16:53:56 +08:00
CI: build master-ci in Actions (#24533)
* jenkins: build master-ci on pc
* make target configurable
* build on actions
* no wait
* more fetch
* v3 has push?
* example
* remove that
* wait
* v1.1.1
* this one works
* schedule
* clear out target first
* no lfs
old-commit-hash: 531f4483b2
This commit is contained in:
27
.github/workflows/release.yaml
vendored
Normal file
27
.github/workflows/release.yaml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: release
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 * * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build_masterci:
|
||||
name: build master-ci
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 60
|
||||
if: github.repository == 'commaai/openpilot'
|
||||
steps:
|
||||
- name: Wait for green check mark
|
||||
uses: lewagon/wait-on-check-action@v0.2
|
||||
with:
|
||||
ref: master
|
||||
wait-interval: 30
|
||||
running-workflow-name: 'build master-ci'
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
lfs: true
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
- name: Build master-ci
|
||||
run: |
|
||||
BRANCH=test-master-ci release/build_devel.sh
|
||||
Reference in New Issue
Block a user