-
Notifications
You must be signed in to change notification settings - Fork 169
57 lines (51 loc) · 2.22 KB
/
pull_request.yml
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
name: PR
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
with:
license_header_check_project_name: "SwiftCrypto"
docs_check_enabled: false
construct-cmake-matrix:
name: Construct cmake matrix
runs-on: ubuntu-latest
outputs:
cmake-matrix: '${{ steps.generate-matrix.outputs.cmake-matrix }}'
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- id: generate-matrix
run: echo "cmake-matrix=$(./scripts/generate_matrix.sh)" >> "$GITHUB_OUTPUT"
env:
MATRIX_LINUX_COMMAND: "./scripts/check-cmake-lists.sh"
cmake-lists:
name: Check cmake lists
needs: construct-cmake-matrix
# TODO: use global reference
uses: ./.github/workflows/swift_test_matrix.yml
with:
name: "Check cmake lists"
matrix_string: '${{ needs.construct-cmake-matrix.outputs.cmake-matrix }}'
unit-tests:
name: Unit tests
uses: ./.github/workflows/unit_tests.yml
with:
linux_5_9_arguments_override: "--explicit-target-dependency-import-check error"
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error"
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -enable-upcoming-feature -Xswiftc MemberImportVisibility"
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -enable-upcoming-feature -Xswiftc MemberImportVisibility"
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -enable-upcoming-feature -Xswiftc MemberImportVisibility"
windows_6_0_enabled: true
windows_nightly_6_0_enabled: true
windows_nightly_main_enabled: true
windows_6_0_arguments_override: "--explicit-target-dependency-import-check error"
windows_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error"
windows_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
cxx-interop:
name: Cxx interop
uses: ./.github/workflows/cxx_interop.yml