forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 0
96 lines (89 loc) · 3.01 KB
/
ci.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Copyright 2022 The IREE Authors
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: CI
on:
pull_request:
env:
GIT_SSH_COMMAND: "ssh -v"
GIT_TRACE: 1
GIT_TRACE_PACKET: 1
GIT_TRACE_PERFORMANCE: 1
jobs:
# ------------------------------------------------------------------------- #
# Standard (small) GitHub-hosted runners
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
small:
runs-on: windows-2022
steps:
- name: "Checking out repository"
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # 3.5.2
with:
submodules: true
small_manual_submodules:
runs-on: windows-2022
steps:
- name: "Checking out repository"
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # 3.5.2
- name: "Updating git submodules"
run: git submodule update --init --jobs 8 --depth 1
small_bash:
runs-on: windows-2022
defaults:
run:
shell: bash
steps:
- name: "Checking out repository"
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # 3.5.2
with:
submodules: true
small_bash_manual_submodules:
runs-on: windows-2022
defaults:
run:
shell: bash
steps:
- name: "Checking out repository"
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # 3.5.2
- name: "Updating git submodules"
run: git submodule update --init --jobs 8 --depth 1
# ------------------------------------------------------------------------- #
# ------------------------------------------------------------------------- #
# Large GitHub-hosted runners (configured at Organization level)
# https://docs.github.com/en/actions/using-github-hosted-runners/using-larger-runners
large:
runs-on: windows-2022-64core
steps:
- name: "Checking out repository"
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # 3.5.2
with:
submodules: true
large_manual_submodules:
runs-on: windows-2022-64core
steps:
- name: "Checking out repository"
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # 3.5.2
- name: "Updating git submodules"
run: git submodule update --init --jobs 8 --depth 1
large_bash:
runs-on: windows-2022-64core
defaults:
run:
shell: bash
steps:
- name: "Checking out repository"
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # 3.5.2
with:
submodules: true
large_bash_manual_submodules:
runs-on: windows-2022-64core
defaults:
run:
shell: bash
steps:
- name: "Checking out repository"
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # 3.5.2
- name: "Updating git submodules"
run: git submodule update --init --jobs 8 --depth 1