Skip to content

Commit befe4d4

Browse files
committed
CI
1 parent 551bde5 commit befe4d4

File tree

4 files changed

+43
-16
lines changed

4 files changed

+43
-16
lines changed

.github/FUNDING.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: macmade

.github/workflows/ci-mac.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: ci-mac
2+
on: [push]
3+
jobs:
4+
ci:
5+
runs-on: macos-latest
6+
strategy:
7+
matrix:
8+
run-config:
9+
- { scheme: 'ObjectiveCPP Mac Static Library (C++11)', configuration: 'Debug', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 1, info: 1, destination: 'platform=macOS' }
10+
- { scheme: 'ObjectiveCPP Mac Static Library (C++11)', configuration: 'Release', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=macOS' }
11+
- { scheme: 'ObjectiveCPP Mac Dynamic Library (C++11)', configuration: 'Debug', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 1, info: 1, destination: 'platform=macOS' }
12+
- { scheme: 'ObjectiveCPP Mac Dynamic Library (C++11)', configuration: 'Release', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=macOS' }
13+
- { scheme: 'ObjectiveCPP Mac Framework (C++11)', configuration: 'Debug', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 1, info: 1, destination: 'platform=macOS' }
14+
- { scheme: 'ObjectiveCPP Mac Framework (C++11)', configuration: 'Release', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=macOS' }
15+
- { scheme: 'ObjectiveCPP iOS Static Library (C++11)', configuration: 'Debug', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=iOS Simulator,name=iPhone 12' }
16+
- { scheme: 'ObjectiveCPP iOS Static Library (C++11)', configuration: 'Release', project: 'ObjectiveCPP.xcodeproj', build: 1, analyze: 1, test: 0, info: 1, destination: 'platform=iOS Simulator,name=iPhone 12' }
17+
steps:
18+
19+
- uses: actions/checkout@v1
20+
with:
21+
submodules: 'recursive'
22+
23+
- uses: macmade/[email protected]
24+
25+
- uses: macmade/[email protected]
26+
if: ${{ always() }}
27+
env:
28+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
29+
with:
30+
channel: '#ci'
31+
status: ${{ job.status }}
32+
title: ${{ matrix.run-config[ 'scheme' ] }} - ${{ matrix.run-config[ 'configuration' ] }}

ObjectiveCPP.xcodeproj/xcshareddata/xcschemes/ObjectiveCPP (C++11).xcscheme

+9-15
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,17 @@
5454
buildConfiguration = "Debug"
5555
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5656
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
57-
language = ""
5857
shouldUseLaunchSchemeArgsEnv = "YES"
5958
codeCoverageEnabled = "YES">
59+
<MacroExpansion>
60+
<BuildableReference
61+
BuildableIdentifier = "primary"
62+
BlueprintIdentifier = "056C884918C8C547006260B3"
63+
BuildableName = "libObjectiveCPP.dylib"
64+
BlueprintName = "ObjectiveCPP Mac Dynamic Library (C++11)"
65+
ReferencedContainer = "container:ObjectiveCPP.xcodeproj">
66+
</BuildableReference>
67+
</MacroExpansion>
6068
<Testables>
6169
<TestableReference
6270
skipped = "NO">
@@ -69,23 +77,11 @@
6977
</BuildableReference>
7078
</TestableReference>
7179
</Testables>
72-
<MacroExpansion>
73-
<BuildableReference
74-
BuildableIdentifier = "primary"
75-
BlueprintIdentifier = "056C884918C8C547006260B3"
76-
BuildableName = "libObjectiveCPP.dylib"
77-
BlueprintName = "ObjectiveCPP Mac Dynamic Library (C++11)"
78-
ReferencedContainer = "container:ObjectiveCPP.xcodeproj">
79-
</BuildableReference>
80-
</MacroExpansion>
81-
<AdditionalOptions>
82-
</AdditionalOptions>
8380
</TestAction>
8481
<LaunchAction
8582
buildConfiguration = "Debug"
8683
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
8784
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
88-
language = ""
8985
launchStyle = "0"
9086
useCustomWorkingDirectory = "NO"
9187
ignoresPersistentStateOnLaunch = "NO"
@@ -101,8 +97,6 @@
10197
ReferencedContainer = "container:ObjectiveCPP.xcodeproj">
10298
</BuildableReference>
10399
</MacroExpansion>
104-
<AdditionalOptions>
105-
</AdditionalOptions>
106100
</LaunchAction>
107101
<ProfileAction
108102
buildConfiguration = "Release"

0 commit comments

Comments
 (0)