-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 743 Bytes
/
ci.yml
File metadata and controls
37 lines (35 loc) · 743 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
31
32
33
34
35
36
37
name: ci
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
mac-os:
runs-on: macos-15
strategy:
matrix:
xcode: ["16.0"]
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode }}
- uses: actions/checkout@v6
- name: Build
run: swift build
- name: Run tests
run: swift test
# linux:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# swift: [ "5.7" ]
# container:
# image: swift:${{ matrix.swift }}
# steps:
# - uses: actions/checkout@v3
# - name: Build
# run: swift build
# - name: Run tests
# run: swift test