Repository navigation
67 lines (64 loc) · 2.76 KB
/
Copy pathpull_request.yml
File metadata and controls
67 lines (64 loc) · 2.76 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
name: Pull request
permissions:
contents: read
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
tests:
name: Test
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.15
with:
swift_flags: "-Xswiftc -warnings-as-errors"
swift_nightly_flags: "-Xswiftc -warnings-as-errors"
enable_macos_checks: true
macos_exclude_xcode_versions: "[{\"xcode_version\": \"swift_6.1\"}, {\"xcode_version\": \"swift_6.2\"}]"
macos_build_command: bash .github/workflows/scripts/ci-macos.sh
enable_ios_checks: true
ios_host_exclude_xcode_versions: "[{\"xcode_version\": \"swift_6.1\"}, {\"xcode_version\": \"swift_6.2\"}]"
ios_build_command: bash .github/workflows/scripts/ci-ios.sh
enable_linux_checks: true
linux_swift_versions: '["nightly-6.4.x", "6.3", "6.4"]'
linux_static_sdk_versions: '["nightly-6.4.x", "6.3", "6.4"]'
linux_build_command: bash .github/workflows/scripts/ci-linux.sh
enable_windows_checks: false
android_sdk_versions: '["nightly-6.4.x", "6.4"]'
enable_android_sdk_build: true
enable_android_sdk_checks: true
enable_embedded_wasm_sdk_build: false
enable_linux_static_sdk_build: true
tests-nightly-main:
# Keep this separate so that it can be disabled if the nightly compiler shows any issue.
name: Test (nightly-main)
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.15
with:
swift_nightly_flags: "-Xswiftc -warnings-as-errors"
enable_linux_checks: true
linux_swift_versions: '["nightly-main"]'
linux_static_sdk_versions: '["nightly-main"]'
linux_build_command: bash .github/workflows/scripts/ci-linux.sh
enable_macos_checks: false
enable_windows_checks: false
android_sdk_versions: '["nightly-main"]'
enable_android_sdk_build: true
enable_android_sdk_checks: true
enable_embedded_wasm_sdk_build: false
enable_linux_static_sdk_build: true
soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
with:
license_header_check_project_name: "Swift"
api_breakage_check_container_image: "swiftlang/swift:nightly-6.3-jammy"
fuzz-smoke:
# Quick smoke check that the fuzz targets still build and don't crash
# immediately - not a substitute for the much longer, corpus-persisting
# nightly fuzzing run (see fuzz-nightly.yml).
#
# Named "Test" so the check reads "Pull request / Test / Fuzzing": GitHub
# composes the name from the workflow name, this caller job's name, and the
# job name inside the called workflow.
name: Test
uses: ./.github/workflows/fuzz.yml
with:
durations: 'FuzzQUICPackets=200 FuzzTransportParameters=10'