add Chapter #961
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
buidMacOS: | |
name: buidMacOS | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@main | |
with: | |
submodules: 'true' | |
- name: Set up Xcode | |
run: | | |
sudo xcode-select -s /Applications/Xcode_15.0.app/Contents/Developer | |
xcode-select -p | |
xcodebuild -version | |
- name: Build | |
run: swift build -v | |
- name: Test | |
run: swift test -v | |
buidIOS: | |
name: buidIOS | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@main | |
with: | |
submodules: 'true' | |
- name: Set up Xcode | |
run: | | |
sudo xcode-select -s /Applications/Xcode_15.0.app/Contents/Developer | |
xcode-select -p | |
xcodebuild -version | |
- name: Build | |
run: swift build --sdk `xcrun -sdk iphonesimulator -show-sdk-path` -Xswiftc -target -Xswiftc x86_64-apple-ios13.0-simulator | |
buidTVOS: | |
name: buidTVOS | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@main | |
with: | |
submodules: 'true' | |
- name: Set up Xcode | |
run: | | |
sudo xcode-select -s /Applications/Xcode_15.0.app/Contents/Developer | |
xcode-select -p | |
xcodebuild -version | |
- name: Build | |
run: swift build --sdk `xcrun -sdk appletvsimulator -show-sdk-path` -Xswiftc -target -Xswiftc x86_64-apple-tvos13.0-simulator | |
# buidXROS: | |
# name: buidXROS | |
# runs-on: macos-13 | |
# steps: | |
# - uses: actions/checkout@main | |
# with: | |
# submodules: 'true' | |
# - name: Build | |
# run: swift build --sdk `xcrun -sdk xrsimulator -show-sdk-path` -Xswiftc -target -Xswiftc x86_64-apple-xros1.0-simulator |