Skip to content

Fetch channels feature #7

Fetch channels feature

Fetch channels feature #7

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:
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 BeChattedChannels
run: xcodebuild clean build test -project BeChattedChannels/BeChattedChannels.xcodeproj -scheme "BeChattedChannels" 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