Skip to content

Commit 115a3d0

Browse files
authored
Reconfigured CI
1 parent d1948cd commit 115a3d0

File tree

2 files changed

+35
-41
lines changed

2 files changed

+35
-41
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
name: Xcode ${{ matrix.xcode }} / ${{ matrix.os }}
12+
runs-on: ${{ matrix.os }}
13+
14+
strategy:
15+
matrix:
16+
os:
17+
- macos-13 # x86_64 (Intel)
18+
- macos-latest # arm64 (Apple Silicon)
19+
xcode:
20+
- 15.4 # Swift 5.10
21+
- 16.1 # Swift 6.0
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- name: Select Xcode version ${{ matrix.xcode }}
27+
run: |
28+
sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
29+
xcodebuild -version
30+
31+
- name: Build
32+
run: swift build -v
33+
34+
- name: Run tests
35+
run: swift test -v

.github/workflows/swift.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)