-
Notifications
You must be signed in to change notification settings - Fork 233
25 lines (23 loc) · 1016 Bytes
/
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
name: Pull request
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
tests:
name: Test
uses: ahoppen/github-workflows/.github/workflows/swift_package_test.yml@windows-error-propagation
with:
linux_pre_build_command: |
cd cross-pr-checkout/Sources/cross-pr-checkout
swift cross-pr-checkout.swift "${{ github.repository }}" "${{ github.event.number }}"
windows_pre_build_command: |
mkdir $env:TEMP\cross-pr-checkout
cp cross-pr-checkout\Sources\cross-pr-checkout\main.swift $env:TEMP\cross-pr-checkout
swiftc -sdk $env:SDKROOT $env:TEMP\cross-pr-checkout\main.swift -o $env:TEMP\cross-pr-checkout\main.exe
$env:TEMP\cross-pr-checkout\main.exe "${{ github.repository }}" "${{ github.event.number }}"
# soundness:
# name: Soundness
# uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
# with:
# license_header_check_enabled: false
# license_header_check_project_name: "Swift.org"