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

Commit 0f5993c

Browse files
committed
Run CI on Swift 5.2
1 parent b294240 commit 0f5993c

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,29 @@ 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: 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: Install System Dependencies
27+
run: |
28+
apt-get update
29+
apt-get install -y libxml2-dev
30+
- name: Build and Test
31+
run: swift test --enable-test-discovery

0 commit comments

Comments
 (0)