Update packages, Xcode #14
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
Backend: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
name: ["macOS", "Linux"] | |
include: | |
- name: "macOS" | |
os: "macos-12" | |
- name: "Linux" | |
os: "ubuntu-latest" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build Backend | |
run: | | |
cd Backend | |
swift build -c release | |
App: | |
runs-on: ${{ matrix.os }} | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_14.0.1.app/Contents/Developer | |
strategy: | |
fail-fast: false | |
matrix: | |
name: ["macOS"] | |
include: | |
- name: "macOS" | |
os: "macos-12" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build App | |
run: > | |
xcodebuild \ | |
-workspace "Auth.xcworkspace" \ | |
-scheme "Auth" \ | |
-destination "platform=iOS Simulator,OS=16.0,name=iPhone 13 Pro" \ | |
ONLY_ACTIVE_ARCH=NO || exit 1 | |