File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 verify-linuxmain :
1313 runs-on : macos-13
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v4
1616 - run : swift test --generate-linuxmain
1717 - run : git diff --exit-code
1818
@@ -23,14 +23,13 @@ jobs:
2323 os :
2424 - macos-13
2525 - macos-14
26- - macos-15
2726 platform :
2827 - iOS
2928 - tvOS
3029 - macOS
3130 - watchOS
3231 steps :
33- - uses : actions/checkout@v2
32+ - uses : actions/checkout@v4
3433 - uses : mxcl/xcodebuild@v1
3534 with :
3635 platform : ${{ matrix.platform }}
4342 strategy :
4443 matrix :
4544 swift :
46- - swift:4.2
47- - swift:5.0
48- - swift:5.1
49- - swift:5.2
5045 - swift:5.3
5146 - swift:5.4
5247 - swift:5.5
5853 container :
5954 image : ${{ matrix.swift }}
6055 steps :
61- - uses : actions/checkout@v2
56+ - uses : actions/checkout@v4
6257
6358 - run : useradd -ms /bin/bash mxcl
6459 - run : chown -R mxcl .
9388 if : ${{ steps.swift.outputs.marketing-version > 5 }}
9489 with :
9590 file : ./info.lcov
91+
92+ linux-legacy :
93+ runs-on : ubuntu-latest
94+ strategy :
95+ matrix :
96+ swift :
97+ - swift:4.2
98+ - swift:5.0
99+ - swift:5.1
100+ - swift:5.2
101+ container :
102+ image : ${{ matrix.swift }}
103+ steps :
104+ - uses : actions/checkout@v3
105+ # Using v3 instead of v4 because v4 requires node20 which needs glibc 2.28+
106+ # These old Swift containers (Ubuntu 18.04) only have glibc 2.27
107+
108+ - run : useradd -ms /bin/bash mxcl
109+ - run : chown -R mxcl .
110+ # ^^ we need to be a normal user and not root for the tests to be valid
111+
112+ - run : su mxcl -c "swift test --parallel"
You can’t perform that action at this time.
0 commit comments