-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (22 loc) · 1.31 KB
/
CI_macOS.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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:
pull_request:
branches: [ main, dev ]
jobs:
build-and-test:
runs-on: macos-14
timeout-minutes: 8
steps:
- uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- name: Xcode version
run: /usr/bin/xcodebuild -version
- name: Build and Test BeChattedAuth
run: xcodebuild clean build test -project BeChattedAuth/BeChattedAuth.xcodeproj -scheme "BeChattedAuth" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" ONLY_ACTIVE_ARCH=YES
- name: Build and Test BeChattedUserInputValidation
run: xcodebuild clean build test -project BeChattedUserInputValidation/BeChattedUserInputValidation.xcodeproj -scheme "BeChattedUserInputValidation" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" ONLY_ACTIVE_ARCH=YES
- name: Build and Test BeChatted
run: xcodebuild clean build test -project BeChatted/BeChatted.xcodeproj -scheme "BeChatted" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" ONLY_ACTIVE_ARCH=YES