Skip to content

Merge pull request #16 from rishatl/master #38

Merge pull request #16 from rishatl/master

Merge pull request #16 from rishatl/master #38

Workflow file for this run

name: Swift CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [push, pull_request]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build-and-test:
# The type of runner that the job will run on
runs-on: macos-latest
timeout-minutes: 10
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_12.2.app
- name: Xcode version
run: /usr/bin/xcodebuild -version
- name: Build and Test
run: xcodebuild clean build test -project UIView-Shimmer.xcodeproj -scheme "UIView-Shimmer" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 12,OS=14.2" ONLY_ACTIVE_ARCH=YES SWIFT_TREAT_WARNINGS_AS_ERRORS=YES