Skip to content

Commit 7ffbab3

Browse files
authored
Add GitHub Actions Workflow for CI checks (#2)
1 parent 2f30dc4 commit 7ffbab3

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "HTTPHeaders CI"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
macos:
13+
name: macOS (Xcode ${{ matrix.xcode }})
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
xcode: ["13.4.1", "13.2.1"]
18+
include:
19+
- xcode: "13.4.1"
20+
macos: macOS-12
21+
- xcode: "13.2.1"
22+
macos: macOS-11
23+
runs-on: ${{ matrix.macos }}
24+
env:
25+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
26+
steps:
27+
- name: Checkout Repo
28+
uses: actions/checkout@v3
29+
- name: Run Tests
30+
run: swift test

0 commit comments

Comments
 (0)