Skip to content

Feature 0.1 (#1)

Feature 0.1 (#1) #15

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Swift
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set Xcode Version 16.1.0
run: sudo xcode-select -s /Applications/Xcode_16.1.app
- name: Test URLPattern
run: swift test -v
- name: Test URLPatternExample
run: |
xcodebuild \
-project URLPatternExample/URLPatternExample.xcodeproj \
-scheme URLPatternExample \
-destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' \
test