Skip to content

Storing examples update #165

Storing examples update

Storing examples update #165

Workflow file for this run

name: Build and test
on:
# push:
# branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
SwiftBuild:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3.5.3
- name: Swift build for iOS
run: swift build -c release -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios13.0-simulator"
- name: Swift build for macOS
run: swift build -c release
- name: Swift test
run: UPLOADCARE_PUBLIC_KEY="${{ secrets.UPLOADCARE_PUBLIC_KEY }}" UPLOADCARE_SECRET_KEY="${{ secrets.UPLOADCARE_SECRET_KEY }}" swift test
CarthageBuild:
runs-on: macos-latest
strategy:
matrix:
target: ['Uploadcare', 'Uploadcare-tvOS', 'Uploadcare-macOS', 'Uploadcare-watchOS']
steps:
- name: Checkout
uses: actions/checkout@v3.5.3
- name: Build Carthage target ${{matrix.target}}
run: xcodebuild build -project Uploadcare.xcodeproj -scheme ${{matrix.target}} -configuration Release