Skip to content

Create CI.yml and configure build and test job #1

Create CI.yml and configure build and test job

Create CI.yml and configure build and test job #1

Workflow file for this run

# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: CI-macOS
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types: [opened, synchronize]
jobs:
build-and-test:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Select Xcode
run: xcodes select 15.2
- name: Xcode version
run: /usr/bin/xcodebuild -version
- name: Build and Test
run: xcodebuild clean build test -project UnionStreet.xcodeproj -scheme "UnionStreet" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" ONLY_ACTIVE_ARCH=YES