File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 12
12
jobs :
13
13
document :
14
14
if : ${{ github.repository == 'compnerd/swift-win32' }}
15
+
15
16
runs-on : windows-latest
16
17
18
+ strategy :
19
+ matrix :
20
+ include :
21
+ - tag : 5.5-DEVELOPMENT-SNAPSHOT-2021-05-02-a
22
+ branch : swift-5.5-branch
23
+
17
24
steps :
18
25
- uses : actions/checkout@v2
19
26
- uses : seanmiddleditch/gha-setup-vsdevenv@master
20
27
21
- - name : Install Swift 5.5-DEVELOPMENT-SNAPSHOT-2021-05-02-a
28
+ - name : Install Swift ${{ matrix.tag }}
22
29
run : |
23
- Install-Binary -Url "https://swift.org/builds/swift-5.5- branch/windows10/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-05-02-a /swift-5.5-DEVELOPMENT-SNAPSHOT-2021-05-02-a -windows10.exe" -Name "installer.exe" -ArgumentList ("-q")
30
+ Install-Binary -Url "https://swift.org/builds/${{ matrix. branch }} /windows10/swift-${{ matrix.tag }} /swift-${{ matrix.tag }} -windows10.exe" -Name "installer.exe" -ArgumentList ("-q")
24
31
- name : Set Environment Variables
25
32
run : |
26
33
echo "SDKROOT=C:\Library\Developer\Platforms\Windows.platform\Developer\SDKs\Windows.sdk" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
Original file line number Diff line number Diff line change @@ -11,13 +11,19 @@ jobs:
11
11
lint :
12
12
runs-on : windows-latest
13
13
14
+ strategy :
15
+ matrix :
16
+ include :
17
+ - tag : 5.5-DEVELOPMENT-SNAPSHOT-2021-05-02-a
18
+ branch : swift-5.5-branch
19
+
14
20
steps :
15
21
- uses : actions/checkout@v2
16
22
- uses : seanmiddleditch/gha-setup-vsdevenv@master
17
23
18
24
- name : Install Swift 5.5-DEVELOPMENT-SNAPSHOT-2021-05-02-a
19
25
run : |
20
- Install-Binary -Url "https://swift.org/builds/swift-5.5- branch/windows10/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-05-02-a /swift-5.5-DEVELOPMENT-SNAPSHOT-2021-05-02-a -windows10.exe" -Name "installer.exe" -ArgumentList ("-q")
26
+ Install-Binary -Url "https://swift.org/builds/${{ matrix. branch }} /windows10/swift-${{ matrix.tag }} /swift-${{ matrix.tag }} -windows10.exe" -Name "installer.exe" -ArgumentList ("-q")
21
27
- name : Set Environment Variables
22
28
run : |
23
29
echo "SDKROOT=C:\Library\Developer\Platforms\Windows.platform\Developer\SDKs\Windows.sdk" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
You can’t perform that action at this time.
0 commit comments