-
Notifications
You must be signed in to change notification settings - Fork 16
46 lines (42 loc) · 1.14 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
name: Pull request
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
tests_with_docker:
name: Test with Docker
uses: ./.github/workflows/swift_package_test.yml
with:
# Linux
linux_build_command: |
mkdir MyPackage
cd MyPackage
swift package init --type library
swift build
# Windows
windows_build_command: |
mkdir MyPackage
cd MyPackage
swift package init --type library
swift build
enable_windows_docker: true
tests_without_docker:
name: Test without Docker
uses: ./.github/workflows/swift_package_test.yml
with:
# Skip Linux which doesn't currently support docker-less workflow
enable_linux_checks: false
# Windows
windows_build_command: |
mkdir MyPackage
cd MyPackage
swift package init --type library
swift build
enable_windows_docker: false
soundness:
name: Soundness
uses: ./.github/workflows/soundness.yml
with:
api_breakage_check_enabled: false
license_header_check_project_name: "Swift.org"
format_check_enabled: false