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

Commit ce40367

Browse files
committed
Add CI workflow
1 parent 002b060 commit ce40367

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
macos:
7+
runs-on: macOS-latest
8+
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v1
12+
- name: Build and Run
13+
run: swift run swift-doc Sources
14+
15+
linux:
16+
runs-on: ubuntu-latest
17+
18+
strategy:
19+
matrix:
20+
swift: ["5.1"]
21+
22+
container:
23+
image: swift:${{ matrix.swift }}
24+
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v1
28+
- name: Build and Run
29+
run: swift run swift-doc Sources

0 commit comments

Comments
 (0)