Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit c1d250d

Browse files
committed
Reenable CI for macOS
Use Swift 5.2
1 parent 3ff6fa6 commit c1d250d

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,25 @@ name: CI
33
on: [push]
44

55
jobs:
6-
# macos:
7-
# runs-on: macOS-latest
6+
macos:
7+
runs-on: macOS-latest
88

9-
# steps:
10-
# - name: Checkout
11-
# uses: actions/checkout@v1
12-
# - name: Build and Test
13-
# run: swift test
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v1
12+
- name: Build and Test
13+
run: swift test
14+
env:
15+
DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer
1416

1517
linux:
1618
runs-on: ubuntu-latest
1719

1820
container:
19-
image: swiftlang/swift:nightly-5.2-xenial
21+
image: swiftlang/swift:5.2
2022

2123
steps:
2224
- name: Checkout
2325
uses: actions/checkout@v1
24-
- name: Build and Run
25-
run: swift run swift-doc Sources/SwiftDoc
26+
- name: Build and Test
27+
run: swift test --enable-test-discovery

0 commit comments

Comments
 (0)