Skip to content

Commit

Permalink
Add CI_macOS.yml instead of CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VMironiuk committed Feb 28, 2024
1 parent ef9b462 commit bb47be3
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CI.yml → .github/workflows/CI_macOS.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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
name: CI-macOS

on:
pull_request:
Expand All @@ -23,11 +23,11 @@ jobs:
- name: Xcode version
run: /usr/bin/xcodebuild -version

# - name: Build and Test BeChatted iOS app
# run: xcodebuild clean build test -workspace BeChatted.xcworkspace -scheme "BeChatted" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk iphonesimulator -destination "platform=iOS Simulator,OS=17.0,name=iPhone 15" ONLY_ACTIVE_ARCH=YES

- 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2EEADCA22B83346B009EE7CE"
BuildableName = "BeChatted.framework"
BlueprintName = "BeChatted"
ReferencedContainer = "container:BeChatted.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2EB37C912B873791003990B0"
BuildableName = "BeChattedTests.xctest"
BlueprintName = "BeChattedTests"
ReferencedContainer = "container:BeChatted.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2EEADCA22B83346B009EE7CE"
BuildableName = "BeChatted.framework"
BlueprintName = "BeChatted"
ReferencedContainer = "container:BeChatted.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

0 comments on commit bb47be3

Please sign in to comment.