Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
swiftpm:
name: SwiftPM
runs-on: macos-26
timeout-minutes: 20

env:
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Print Swift and Xcode diagnostics
run: |
set -euo pipefail
echo "DEVELOPER_DIR=${DEVELOPER_DIR}"
xcode-select -p
xcodebuild -version
swift --version
xcrun --find swift
xcrun --find xctest

- name: Describe package
run: swift package describe

- name: Build
run: swift build

- name: Test
run: swift test
Loading