Skip to content

Commit

Permalink
Update ci_suite.yml
Browse files Browse the repository at this point in the history
Signed-off-by: FalloutFalcon <86381784+FalloutFalcon@users.noreply.github.com>
  • Loading branch information
FalloutFalcon authored Oct 8, 2024
1 parent bf312f5 commit 5827c24
Showing 1 changed file with 5 additions and 32 deletions.
37 changes: 5 additions & 32 deletions .github/workflows/ci_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,12 @@ on:
- master
merge_group:
branches:
- master

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

- master
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 @@ -98,10 +84,9 @@ 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 @@ -121,9 +106,8 @@ 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 @@ -152,8 +136,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 @@ -183,14 +167,3 @@ 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) }}

0 comments on commit 5827c24

Please sign in to comment.