Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Commit 2910f77

Browse files
authored
Update CI workflow to test with Swift 5.3 (#2)
* Test with Swift 5.3 * Update package manifest to swift-tools-version 5.3 * Remove release configuration flag from swift test invocation
1 parent f3b37c3 commit 2910f77

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/ci.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,31 @@ jobs:
1010
macos:
1111
runs-on: macos-latest
1212

13+
strategy:
14+
matrix:
15+
xcode:
16+
- "12" # Swift 5.3
17+
18+
name: "macOS (Xcode ${{ matrix.xcode }})"
19+
1320
steps:
1421
- name: Checkout
1522
uses: actions/checkout@v1
1623
- name: Install libgit2
1724
run: brew install libgit2
1825
- name: Build and Test
1926
run: swift test
27+
env:
28+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
2029

2130
linux:
2231
runs-on: ubuntu-latest
2332

2433
strategy:
2534
matrix:
26-
swift: ["5.2"]
35+
swift: ["5.3"]
36+
37+
name: "Linux (Swift ${{ matrix.swift }})"
2738

2839
container:
2940
image: swift:${{ matrix.swift }}

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.2
1+
// swift-tools-version:5.3
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription

0 commit comments

Comments
 (0)