Support for building, bundling, and running for visionOS and iOS. #254
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
name: Build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-13 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_14.3.app/Contents/Developer | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Version | |
run: swift --version | |
- name: Build | |
run: swift build -c release --arch arm64 --arch x86_64 | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: swift-bundler | |
path: ./.build/apple/Products/Release/swift-bundler |