Skip to content

Remove concept of View flexibility and instead allow computing the si… #313

Remove concept of View flexibility and instead allow computing the si…

Remove concept of View flexibility and instead allow computing the si… #313

Workflow file for this run

name: Build macOS
on:
push:
pull_request:
branches: [ main ]
jobs:
build-mac:
runs-on: macos-14
steps:
- name: Force Xcode 15.4
run: sudo xcode-select -switch /Applications/Xcode_15.4.app
- uses: actions/checkout@v3
- name: Install Dependencies
run: brew install pkg-config gtk4 || echo "This step 'fails' every time but it's just a brew linking error - not important."
- name: Build
run: |
swift build --target GtkCodeGen && \
cd Examples && \
swift build --target SwiftCrossUI && \
swift build --target GtkBackend && \
swift build --target CounterExample && \
swift build --target ControlsExample && \
swift build --target RandomNumberGeneratorExample && \
swift build --target WindowingExample && \
swift build --target GreetingGeneratorExample && \
swift build --target NavigationExample && \
swift build --target SplitExample && \
swift build --target GtkExample
# Calling `swift test` results in all targets getting built including targets such as WinUIBackend which
# aren't available on macOS.
# - name: Test
# run: swift test