-
Notifications
You must be signed in to change notification settings - Fork 1
165 lines (159 loc) · 7.31 KB
/
compiler-tests.yaml
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
---
# This workflow runs all of the compiler tests
name: Compiler Tests
on:
# Runs every Friday from 7AM UTC
schedule:
- cron: 00 7 * * 5
# Allows us to manually start workflow for testing
workflow_dispatch:
jobs:
# replication of compiler-tests.sh
<<<<<<< HEAD
<<<<<<< HEAD
=======
>>>>>>> misc: Copy .github directory from develop to stable (#458)
all-compilers:
strategy:
fail-fast: false
matrix:
<<<<<<< HEAD
image: [gcc-version-12, gcc-version-11, gcc-version-10, gcc-version-8, clang-version-16, clang-version-15, clang-version-14, clang-version-13,
clang-version-12, clang-version-11, clang-version-10, clang-version-9, clang-version-8, clang-version-7, ubuntu-20.04_all-dependencies,
=======
image: [gcc-version-12, gcc-version-11, gcc-version-10, gcc-version-9, gcc-version-8, clang-version-16, clang-version-15, clang-version-14,
clang-version-13, clang-version-12, clang-version-11, clang-version-10, clang-version-9, clang-version-8, clang-version-7, ubuntu-20.04_all-dependencies,
>>>>>>> misc: Copy .github directory from develop to stable (#458)
ubuntu-22.04_all-dependencies, ubuntu-22.04_min-dependencies]
opts: [.opt, .fast]
runs-on: [self-hosted, linux, x64]
timeout-minutes: 2880 # 48 hours
<<<<<<< HEAD
<<<<<<< HEAD
container: ghcr.io/gem5/${{ matrix.image }}:latest
steps:
- uses: actions/checkout@v3
with:
=======
all-compilers:
strategy:
fail-fast: false
matrix:
image: [gcc-version-12, gcc-version-11, gcc-version-10, gcc-version-9, gcc-version-8, clang-version-14, clang-version-13, clang-version-12, clang-version-11, clang-version-10, clang-version-9, clang-version-8, clang-version-7, ubuntu-20.04_all-dependencies, ubuntu-22.04_all-dependencies, ubuntu-22.04_min-dependencies]
opts: [.opt, .fast]
<<<<<<< HEAD
runs-on: [self-hosted, linux, x64, run]
=======
runs-on: [self-hosted, linux, x64, build]
>>>>>>> misc: Copy .github directory from develop to stable
timeout-minutes: 2880 # 48 hours
container: gcr.io/gem5-test/${{ matrix.image }}:latest
steps:
- uses: actions/checkout@v3
with:
>>>>>>> misc: Add ".github" changes to minor release
# Scheduled workflows run on the default branch by default. We
# therefore need to explicitly checkout the develop branch.
<<<<<<< HEAD
=======
container: gcr.io/gem5-test/${{ matrix.image }}:latest
=======
container: ghcr.io/gem5/${{ matrix.image }}:latest
>>>>>>> misc: Copy .github directory from develop to stable (#485)
steps:
- uses: actions/checkout@v3
with:
# Scheduled workflows run on the default branch by default. We
# therefore need to explicitly checkout the develop branch.
>>>>>>> misc: Copy .github directory from develop to stable (#458)
ref: develop
- name: Compile build/ALL/gem5${{ matrix.opts }} with ${{ matrix.image }}
run: /usr/bin/env python3 /usr/bin/scons --ignore-style build/ALL/gem5${{ matrix.opts }} -j$(nproc)
timeout-minutes: 600 # 10 hours
<<<<<<< HEAD
=======
ref: develop
- name: Compile build/ALL/gem5${{ matrix.opts }} with ${{ matrix.image }}
run: /usr/bin/env python3 /usr/bin/scons --ignore-style build/ALL/gem5${{ matrix.opts }} -j$(nproc)
timeout-minutes: 600 # 10 hours
>>>>>>> misc: Copy .github directory from develop to stable
# Tests the two latest gcc and clang supported compilers against all gem5 compilations.
<<<<<<< HEAD
=======
# Tests the two latest gcc and clang supported compilers against all gem5 compilations.
>>>>>>> misc: Copy .github directory from develop to stable (#458)
latest-compilers-all-gem5-builds:
strategy:
fail-fast: false
matrix:
gem5-compilation: [ARM, ARM_MESI_Three_Level, ARM_MESI_Three_Level_HTM, ARM_MOESI_hammer, Garnet_standalone, GCN3_X86, MIPS, 'NULL', NULL_MESI_Two_Level,
NULL_MOESI_CMP_directory, NULL_MOESI_CMP_token, NULL_MOESI_hammer, POWER, RISCV, SPARC, X86, X86_MI_example, X86_MOESI_AMD_Base, VEGA_X86,
GCN3_X86]
image: [gcc-version-12, clang-version-16]
opts: [.opt]
runs-on: [self-hosted, linux, x64]
timeout-minutes: 2880 # 48 hours
<<<<<<< HEAD
<<<<<<< HEAD
container: ghcr.io/gem5/${{ matrix.image }}:latest
steps:
- uses: actions/checkout@v3
with:
=======
latest-compilers-all-gem5-builds:
strategy:
fail-fast: false
matrix:
gem5-compilation: [ARM, ARM_MESI_Three_Level, ARM_MESI_Three_Level_HTM, ARM_MOESI_hammer, Garnet_standalone, GCN3_X86, MIPS, 'NULL', NULL_MESI_Two_Level, NULL_MOESI_CMP_directory, NULL_MOESI_CMP_token, NULL_MOESI_hammer, POWER, RISCV, SPARC, X86, X86_MI_example, X86_MOESI_AMD_Base, VEGA_X86, GCN3_X86]
image: [gcc-version-12, clang-version-14]
opts: [.opt]
<<<<<<< HEAD
runs-on: [self-hosted, linux, x64, run]
=======
runs-on: [self-hosted, linux, x64, build]
>>>>>>> misc: Copy .github directory from develop to stable
timeout-minutes: 2880 # 48 hours
container: gcr.io/gem5-test/${{ matrix.image }}:latest
steps:
- uses: actions/checkout@v3
with:
>>>>>>> misc: Add ".github" changes to minor release
# Scheduled workflows run on the default branch by default. We
# therefore need to explicitly checkout the develop branch.
<<<<<<< HEAD
=======
container: gcr.io/gem5-test/${{ matrix.image }}:latest
=======
container: ghcr.io/gem5/${{ matrix.image }}:latest
>>>>>>> misc: Copy .github directory from develop to stable (#485)
steps:
- uses: actions/checkout@v3
with:
# Scheduled workflows run on the default branch by default. We
# therefore need to explicitly checkout the develop branch.
>>>>>>> misc: Copy .github directory from develop to stable (#458)
ref: develop
- name: Compile build/${{ matrix.gem5-compilation }}/gem5${{ matrix.opts }} with ${{ matrix.image }}
run: /usr/bin/env python3 /usr/bin/scons --ignore-style build/${{ matrix.gem5-compilation }}/gem5${{ matrix.opts }} -j$(nproc)
timeout-minutes: 600 # 10 hours
compiler-tests:
# The dummy job is used to indicate whether the compiler tests have
# passed or not. This can be used as status check for pull requests.
# I.e., if we want to stop pull requests from being merged if the
# compiler tests are failing, we can add this job as a required status
# check.
runs-on: ubuntu-22.04
needs:
- latest-compilers-all-gem5-builds
- all-compilers
steps:
- run: echo "This compiler tests have passed."
<<<<<<< HEAD
=======
ref: develop
- name: Compile build/${{ matrix.gem5-compilation }}/gem5${{ matrix.opts }} with ${{ matrix.image }}
run: /usr/bin/env python3 /usr/bin/scons --ignore-style build/${{ matrix.gem5-compilation }}/gem5${{ matrix.opts }} -j$(nproc)
timeout-minutes: 600 # 10 hours
>>>>>>> misc: Copy .github directory from develop to stable
=======
>>>>>>> misc: Copy .github directory from develop to stable (#458)