Skip to content

Merge pull request #65 from antoniusnaumann/hotfix/uniffi-breaking-ch… #160

Merge pull request #65 from antoniusnaumann/hotfix/uniffi-breaking-ch…

Merge pull request #65 from antoniusnaumann/hotfix/uniffi-breaking-ch… #160

Workflow file for this run

name: Examples
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
tests:
strategy:
matrix:
path:
[
"./swift-examples/hello-world/greeter",
"./swift-examples/hello-world-macro/greeter",
"./swift-examples/hello-world-macro-multi-crate/greeter",
]
target: [
"platform=macOS,arch=x86_64",
"generic/platform=iOS",
# 'platform=iOS Simulator,os=latest'
]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install
run: cargo install --force --path .
- name: Build example libraries
working-directory: ${{ matrix.path }}
run: cargo swift package --accept-all
- name: Build example apps
working-directory: ${{ matrix.path }}/../app
run: xcodebuild -scheme App -destination "${{ matrix.target }}" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO