misc,tests: Add dummy jobs to workflows for status checks

Change-Id: I52e42b6f93cfbb1a8e4800a3f6e264d49bebb06c
This commit is contained in:
Bobby R. Bruce
2023-10-12 07:00:19 -07:00
parent c855dbf7c5
commit 3816ea5633
3 changed files with 41 additions and 0 deletions

View File

@@ -55,3 +55,16 @@ jobs:
- 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."