-
Notifications
You must be signed in to change notification settings - Fork 343
45 lines (42 loc) · 1.1 KB
/
presubmit.yaml
File metadata and controls
45 lines (42 loc) · 1.1 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
# 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Linux ${{ matrix.bot }}
run: ./tool/github.sh
env:
BOT: ${{ matrix.bot }}
- name: upload build artifacts
uses: actions/upload-artifact@v7
if: always()
with:
name: build-${{ matrix.bot }}
path: |
**/build/reports/
**/build/test-results/
if-no-files-found: ignore