Skip to content

Commit f8d3d73

Browse files
authored
Merge pull request #1 from pointfreeco/ci
Add CI
2 parents 0c0eed7 + 8f495eb commit f8d3d73

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/ci.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- '*'
10+
workflow_dispatch:
11+
12+
concurrency:
13+
group: ci-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
macos-26:
18+
name: macOS
19+
runs-on: macos-26
20+
strategy:
21+
matrix:
22+
xcode:
23+
- '26.2'
24+
steps:
25+
- uses: actions/checkout@v5
26+
- name: Select Xcode ${{ matrix.xcode }}
27+
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
28+
- name: Build
29+
run: swift build
30+
31+
linux:
32+
name: Linux
33+
runs-on: ubuntu-latest
34+
strategy:
35+
matrix:
36+
swift:
37+
- '6.2.3'
38+
steps:
39+
- uses: actions/checkout@v5
40+
- name: Install Swift ${{ matrix.swift }}
41+
uses: swift-actions/setup-swift@v3
42+
with:
43+
swift-version: ${{ matrix.swift }}
44+
- name: Build
45+
run: swift build

0 commit comments

Comments
 (0)