forked from CausticCove/CC
-
Notifications
You must be signed in to change notification settings - Fork 0
70 lines (60 loc) · 1.84 KB
/
Copy pathci_suite.yml
File metadata and controls
70 lines (60 loc) · 1.84 KB
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
name: BYOND Build
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
BYOND_MAJOR: 516
BYOND_MINOR: 1666
SPACEMAN_DMM_VERSION: suite-1.11
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
start_gate:
if: ( !contains(github.event.head_commit.message, '[ci skip]') )
name: Run Linters
runs-on: ubuntu-22.04
steps:
- name: Mandatory Empty Step
run: exit 0
run_linters:
name: Run Linters
needs: start_gate
uses: ./.github/workflows/run_linters.yml
collect_data:
name: Collect data and setup caches for other tasks
needs: start_gate
uses: ./.github/workflows/collect_data.yml
compile_all_maps:
name: Compile Maps
needs: collect_data
uses: ./.github/workflows/compile_all_maps.yml
with:
max_required_byond_client: ${{ needs.collect_data.outputs.max_required_byond_client }}
setup_build_artifacts:
name: Setup build artifacts
needs: collect_data
uses: ./.github/workflows/setup_build_artifacts.yml
with:
build_versions: ${{ needs.collect_data.outputs.required_build_versions }}
run_all_tests:
name: Integration Tests
needs: [collect_data, setup_build_artifacts]
uses: ./.github/workflows/perform_regular_version_tests.yml
with:
maps: ${{ needs.collect_data.outputs.maps }}
max_required_byond_client: ${{ needs.collect_data.outputs.max_required_byond_client }}
completion_gate: # Serves as a non-moving target for branch rulesets
if: always() && !cancelled()
name: Completion Gate
needs: [compile_all_maps, run_all_tests, 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) }}