Fix LabeledTextField for macOS #161
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
--- | |
name: Build Blocks | |
# 📜 https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build_macOS: | |
name: Build macOS | |
runs-on: macos-15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Output XCode version | |
run: | | |
xcodebuild -version | |
- name: Build debug version | |
run: | | |
make build | |
- name: Test debug version | |
run: | | |
make test | |
build_iOS: | |
name: Build iOS | |
runs-on: macos-15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Output XCode version | |
run: | | |
xcodebuild -version | |
- name: Show destinations | |
run: xcrun xcodebuild -showdestinations -scheme Blocks | |
- name: Build debug version | |
run: | | |
make build-ios | |
# TODO: Find a way for tests without the following error: | |
# | |
# ``` | |
# Error Domain=com.apple.dt.IDEContainerErrorDomain Code=6 "Cannot open "Documentation.docc" as a "Folder" because it is already open as a "Swift User Managed Package Folder"." UserInfo={NSLocalizedDescription=Cannot open "Documentation.docc" as a "Folder" because it is already open as a "Swift User Managed Package Folder".} | |
# ``` | |
build_linux: | |
name: Build Linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build debug version | |
run: | | |
swift build | |
- name: Test debug version | |
run: | | |
swift test |