Skip to content

Commit

Permalink
Create CI.yml and configure build and test job
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniyd authored Feb 26, 2024
1 parent 0586796 commit 655cf40
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 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

0 comments on commit 655cf40

Please sign in to comment.