Feature/image comments/api #21
Workflow file for this run
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-macOS | |
on: | |
pull_request: | |
branches: [ master ] | |
# 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-and-test" | |
build-and-test: | |
# The type of runner that the job will run on | |
runs-on: macos-13 | |
timeout-minutes: 10 | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Setup Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
- name: Select Xcode | |
run: sudo xcode-select -switch /Applications/Xcode_14.3.app | |
- name: Xcode version | |
run: /usr/bin/xcodebuild -version | |
- name: Install Dependencies | |
run: | | |
brew install swiftlint | |
- name: Build and Test | |
run: | | |
xcodebuild clean build test -project EssentialFeed.xcodeproj -scheme "CI_macOS" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" ONLY_ACTIVE_ARCH=YES | |
# - name: Lint Swift Code | |
# run: | | |
# swiftlint lint |