-
-
Notifications
You must be signed in to change notification settings - Fork 18
30 lines (28 loc) · 718 Bytes
/
test-macos.yml
File metadata and controls
30 lines (28 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Test (macOS)
on:
push:
pull_request:
branches: [ main ]
jobs:
build-mac:
runs-on: macos-13
steps:
- name: List Xcodes
run: ls /Applications
- name: Force Xcode 15.0
run: sudo xcode-select -switch /Applications/Xcode_15.0.app
- name: Checkout
uses: actions/checkout@v3
- name: Test
run: swift test
check-macro-compatibility:
name: Check Macro Compatibility
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Swift Macro Compatibility Check
uses: Matejkob/swift-macro-compatibility-check@v1
with:
run-tests: false
major-versions-only: true