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:
Adeeb Shihadeh
2022-05-14 00:18:30 -07:00
committed by GitHub
parent 8886c4c085
commit 5f429c1513
8 changed files with 60 additions and 48 deletions

27
.github/workflows/release.yaml vendored Normal file
View 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