Skip to content

Commit

Permalink
Update build-example.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 authored Oct 1, 2023
1 parent 92b6667 commit 85374f9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,35 @@ env:
OSXSCHEME: Example
TVSCHEME: Example
WATCHSCHEME: Example
PACKAGE_NAME: OversizeUI

jobs:

build-package:

runs-on: macOS-13

name: Package build

steps:
- uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_14.4.app && /usr/bin/xcodebuild -version

- name: Build and run tests
run: xcodebuild clean build -scheme ${{ env.PACKAGE_NAME }} -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=16.4' | xcpretty && exit ${PIPESTATUS[0]}

# swiftpm:
# runs-on: macos-14

# steps:
# - uses: maxim-lobanov/[email protected]
# with:
# xcode-version: "15.0"
# - uses: actions/checkout@v2
# - name: Build Package
# run: xcodebuild -scheme ${{ env.PACKAGE_NAME }} -destination 'platform=iOS Simulator,name=iPhone 8,OS=16.2' | xcpretty

build-iOS-example:
name: Build iOS examples
runs-on: macOS-latest
Expand Down

0 comments on commit 85374f9

Please sign in to comment.