feat: fal.run url support #32
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: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
swift: ["5.7", "5.8", "5.9"] | |
runs-on: macos-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v4 | |
- name: Setup Swift | |
uses: swift-actions/setup-swift@v1 | |
with: | |
swift-version: ${{ matrix.swift }} | |
- name: Test library | |
run: swift test | |
- name: Build library | |
run: swift build --target FalClient --configuration release | |
samples: | |
name: Build samples | |
needs: build | |
runs-on: macos-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v4 | |
- name: Setup Swift | |
uses: swift-actions/setup-swift@v1 | |
with: | |
swift-version: "5.9" | |
- name: Build basic app | |
uses: sersoft-gmbh/xcodebuild-action@v3 | |
with: | |
project: Sources/Samples/FalSampleApp/FalSampleApp.xcodeproj | |
scheme: FalSampleApp | |
destination: platform=iOS Simulator,name=iPhone 13,OS=15.6 | |
action: build |