-
Notifications
You must be signed in to change notification settings - Fork 343
46 lines (42 loc) · 1.16 KB
/
presubmit.yaml
File metadata and controls
46 lines (42 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Do not edit; instead, modify presubmit.yaml.template, and run './bin/plugin generate'.
# Copyright 2020 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
name: presubmit
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
presubmit:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: build
run: ./tool/github.sh
checker:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
bot: [CHECK_BOT, DART_BOT, UNIT_TEST_BOT, VERIFY_BOT]
steps:
- name: checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Linux ${{ matrix.bot }}
run: ./tool/github.sh
env:
BOT: ${{ matrix.bot }}
- name: upload build artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: build-${{ matrix.bot }}
path: |
**/build/reports/
**/build/test-results/