Skip to content

Commit df0b54a

Browse files
rinsukiVadim Shpakovski
authored andcommitted
CI: Add GitHub Actions
1 parent d4ac960 commit df0b54a

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build-and-test:
10+
name: Build and Test
11+
runs-on: macos-latest
12+
strategy:
13+
matrix:
14+
xcode: # see https://github.com/actions/virtual-environments/tree/master/images/macos
15+
- "11.4"
16+
- "11.4.1"
17+
- "11.5_beta"
18+
steps:
19+
- uses: actions/checkout@v2
20+
- run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
21+
- run: swift test

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ If you download and play with the sample app, it’s already cool. But if you re
5050
- [ ] Explain how to implement drag-n-drop in your app
5151
- [ ] Add versioning because now it’s just a `master` branch
5252
- [ ] Add this project to the [Dave’s](https://swiftpm.co) repository of Swift Packages
53-
- [ ] Make a [GitHub Action]() for building and testing a Swift Package
5453
- [ ] Improve the Demo app, it’s too basic and doesn’t show all the features
5554
- [ ] File a Radar requesting a real `NSOutlineViewDiffableDataSource`, why not
5655

0 commit comments

Comments
 (0)