Skip to content

Create new templates/ directory in preparation for askama templates #54

Create new templates/ directory in preparation for askama templates

Create new templates/ directory in preparation for askama templates #54

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'
]
target: [
'platform=macOS,arch=x86_64',
'generic/platform=iOS',
# 'platform=iOS Simulator,os=latest'
]
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- 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