Skip to content

update

update #1056

Workflow file for this run

on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
buidJob:
name: buid
runs-on: macos-14
steps:
- uses: actions/checkout@main
with:
submodules: recursive
# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#xcode
- name: Set up Xcode
run: |
sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
xcode-select -p
xcodebuild -version
- name: Build
run: |
swift build
swift build --sdk `xcrun -sdk iphonesimulator -show-sdk-path` -Xswiftc -target -Xswiftc x86_64-apple-ios13.0-simulator
swift build --sdk `xcrun -sdk appletvsimulator -show-sdk-path` -Xswiftc -target -Xswiftc x86_64-apple-tvos13.0-simulator
swift build --sdk `xcrun -sdk xrsimulator -show-sdk-path` -Xswiftc -target -Xswiftc x86_64-apple-xros1.0-simulator
- name: Test
run: swift test -v