mirror of
https://github.com/zhigang1992/fal-swift.git
synced 2026-01-12 17:22:29 +08:00
* feat: fal.run url support * fix: msgpack ios15 support * chore: add basic tests and build updates * fix: build job runs-on * fix: remove ubuntu build * fix: remove version matrix for now * fix: remove test temporarily * fix: ios version * fix: temp remove sample build * chore: update msgpack dependency * feat: add fal image codable struct * chore: update all urls to fal.run
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
name: 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: 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=16.2
|
|
# action: build
|