Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hrm #10

Merged
merged 4 commits into from
Oct 8, 2024
Merged

hrm #10

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 32 additions & 5 deletions .github/workflows/ci_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,26 @@ on:
- master
merge_group:
branches:
- master
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
start_gate:
if: ( !contains(github.event.head_commit.message, '[ci skip]') )
name: Start Gate
runs-on: ubuntu-latest
steps:
- name: Mandatory Empty Step
run: exit 0

run_linters:
if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
name: Run Linters
needs: start_gate
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -84,9 +98,10 @@ jobs:
cat check_regex_output.txt

compile_all_maps:
if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
name: Compile Maps
needs: start_gate
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3

Expand All @@ -106,8 +121,9 @@ jobs:
tools/build/build --ci dm -DCIBUILDING -DCITESTING -DALL_MAPS -DFULL_INIT

run_all_tests:
if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
name: Integration Tests
needs: start_gate
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -136,8 +152,8 @@ jobs:
# minor: ${{ matrix.minor }}

test_windows:
if: ${{ ! contains(github.event.head_commit.message, '[ci skip]') }}
name: Windows Build
needs: start_gate
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -167,3 +183,14 @@ jobs:
with:
name: deploy
path: deploy

completion_gate: # Serves as a non-moving target for branch rulesets
if: always() && !cancelled()
name: Completion Gate
needs: [ test_windows, compile_all_maps, run_linters]
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
Loading