misc: Adjust compiler tests and CI tests
This adds a job level timeout for the compiler tests, allows them to run weekly instead of daily, adds a workflow dispatch option, and changes the 'latests-compilers-all-gem5-builds' jobs to run only the .opt variant. It also adds a ready for review option to the CI tests to run when someone converts a draft pull request. Change-Id: Id32b5f7da90745d18de2e550bd48d32ba45fb4d9 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/71725 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Bobby Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Bobby Bruce
parent
55cecfc3e8
commit
b271367a35
2
.github/workflows/ci-tests.yaml
vendored
2
.github/workflows/ci-tests.yaml
vendored
@@ -4,7 +4,7 @@ name: CI Tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, edited, synchronize]
|
||||
types: [opened, edited, synchronize, ready_for_review]
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
10
.github/workflows/compiler-tests.yaml
vendored
10
.github/workflows/compiler-tests.yaml
vendored
@@ -5,9 +5,11 @@ run-name: ${{ github.actor }} is running compiler tests
|
||||
|
||||
|
||||
on:
|
||||
# Runs every day from 7AM UTC
|
||||
# Runs every Friday from 7AM UTC
|
||||
schedule:
|
||||
- cron: '0 7 * * *'
|
||||
- cron: '00 7 * * 5'
|
||||
# Allows us to manually start workflow for testing
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
# replication of compiler-tests.sh
|
||||
@@ -17,6 +19,7 @@ jobs:
|
||||
image: [gcc-version-12, gcc-version-11, gcc-version-10, gcc-version-9, gcc-version-8, gcc-version-7, clang-version-14, clang-version-13, clang-version-12, clang-version-11, clang-version-10, clang-version-9, clang-version-8, clang-version-7, clang-version-6.0, ubuntu-18.04_all-dependencies, ubuntu-20.04_all-dependencies, ubuntu-22.04_all-dependencies, ubuntu-22.04_min-dependencies]
|
||||
opts: [.opt, .fast]
|
||||
runs-on: [self-hosted, linux, x64, run]
|
||||
timeout-minutes: 2880 # 48 hours
|
||||
container: gcr.io/gem5-test/${{ matrix.image }}:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -34,8 +37,9 @@ jobs:
|
||||
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]
|
||||
image: [gcc-version-12, clang-version-14]
|
||||
opts: [.opt, .fast]
|
||||
opts: [.opt]
|
||||
runs-on: [self-hosted, linux, x64, run]
|
||||
timeout-minutes: 2880 # 48 hours
|
||||
container: gcr.io/gem5-test/${{ matrix.image }}:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user