Skip to content

Move non-legacy examples to Swift Package Manager #780

Move non-legacy examples to Swift Package Manager

Move non-legacy examples to Swift Package Manager #780

name: Authentication
on:
push:
branches: [ main ]
paths:
- '.github/workflows/authentication.yml'
- 'authentication/**'
- 'scripts/*'
- 'scripts/authentication.sh'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/authentication.yml'
- 'authentication/**'
- 'scripts/*'
- 'scripts/authentication.sh'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
env:
SAMPLE: Authentication
secrets_passphrase: ${{ secrets.GHASECRETSGPGPASSPHRASE1 }}
jobs:
cocoapods:
name: spm
runs-on: macOS-15
env:
OS: iOS
SETUP: authentication
SPM: true
LEGACY: false
DIR: authentication
DEVICE: iPhone 16
TEST: false
SCHEME: AuthenticationExample
DEVELOPER_DIR: /Applications/Xcode_16.1.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
gem install xcpretty
cd $SETUP
../scripts/install_prereqs/${SETUP}.sh
- name: Build and Test SwiftUI (${OS})
run: ./scripts/test.sh