Skip to content

👷 Update CI

👷 Update CI #9

Workflow file for this run

name: Build
on:
push:
paths:
- Sources/**
- Tests/**
- .github/**
pull_request:
paths:
- Sources/**
- Tests/**
- .github/**
jobs:
spm:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: AckeeCZ/load-xcode-version@v1
- name: SPM build
run: swift build -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios16.2-simulator"
carthage:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: AckeeCZ/load-xcode-version@v1
- name: Carthage build
run: carthage build --platform iOS --use-xcframeworks --no-skip-current