File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 FORCE_COLOR : 1
2020
2121jobs :
22- build-context :
23- name : Change detection
24- # To use boolean outputs from this job, parse them as JSON.
25- # Here's some examples:
26- #
27- # if: fromJSON(needs.build-context.outputs.run-docs)
28- #
29- # ${{
30- # fromJSON(needs.build-context.outputs.run-tests)
31- # && 'truthy-branch'
32- # || 'falsy-branch'
33- # }}
34- #
35- uses : ./.github/workflows/reusable-context.yml
36-
3722 build-ubuntu :
3823 name : >-
3924 Ubuntu
40- ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
41- ${{ fromJSON(matrix.bolt) && '(bolt)' || '' }}
42- needs : build-context
43- if : needs.build-context.outputs.run-tests == 'true'
4425 strategy :
4526 fail-fast : false
4627 matrix :
5637 bolt-optimizations : ${{ matrix.bolt }}
5738 free-threading : ${{ matrix.free-threading }}
5839 os : ${{ matrix.os }}
59-
60- all-required-green : # This job does nothing and is only used for the branch protection
61- name : All required checks pass
62- runs-on : ubuntu-latest
63- timeout-minutes : 5
64- needs :
65- - build-context # Transitive dependency, needed to access `run-tests` value
66- if : always()
67-
68- steps :
69- - name : Check whether the needed jobs succeeded or failed
70- uses : re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
71- with :
72- allowed-failures : >-
73- build-windows-msi,
74- build-ubuntu-ssltests,
75- test-hypothesis,
76- cifuzz,
77- allowed-skips : >-
78- ${{
79- !fromJSON(needs.build-context.outputs.run-docs)
80- && '
81- check-docs,
82- '
83- || ''
84- }}
85- ${{
86- needs.build-context.outputs.run-tests != 'true'
87- && '
88- check-autoconf-regen,
89- check-generated-files,
90- build-macos,
91- build-ubuntu,
92- build-ubuntu-ssltests,
93- build-wasi,
94- test-hypothesis,
95- build-asan,
96- build-tsan,
97- cross-build-linux,
98- '
99- || ''
100- }}
101- ${{
102- !fromJSON(needs.build-context.outputs.run-windows-tests)
103- && '
104- build-windows,
105- '
106- || ''
107- }}
108- ${{
109- !fromJSON(needs.build-context.outputs.run-ci-fuzz)
110- && '
111- cifuzz,
112- '
113- || ''
114- }}
115- jobs : ${{ toJSON(needs) }}
You can’t perform that action at this time.
0 commit comments