Skip to content

Commit 40d557b

Browse files
stephengroatJoniVR
andauthored
Add GitHub Actions Build (#295)
Co-authored-by: Joni Van Roost <joni.VR@hotmail.com>
1 parent 104c40c commit 40d557b

File tree

3 files changed

+38
-13
lines changed

3 files changed

+38
-13
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
build:
11+
runs-on: macos-11
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: xcodebuild
16+
uses: sersoft-gmbh/xcodebuild-action@v1.4
17+
with:
18+
project: MonitorControl.xcodeproj
19+
scheme: MonitorControl
20+
destination: platform=macOS
21+
action: build
22+
lint:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v2
27+
28+
- name: SwiftLint
29+
uses: norio-nomura/action-swiftlint@3.2.1
30+
env:
31+
DIFF_BASE: ${{ github.base_ref }}
32+
with:
33+
args: --strict
34+

MonitorControl.xcodeproj/project.pbxproj

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -365,13 +365,11 @@
365365
TargetAttributes = {
366366
56754EAA1D9A4016007BCDC5 = {
367367
CreatedOnToolsVersion = 8.0;
368-
DevelopmentTeam = CYC8C8R4K9;
369368
LastSwiftMigration = 1020;
370369
ProvisioningStyle = Automatic;
371370
};
372371
F06792E6200A73460066C438 = {
373372
CreatedOnToolsVersion = 9.2;
374-
DevelopmentTeam = CYC8C8R4K9;
375373
LastSwiftMigration = 1020;
376374
ProvisioningStyle = Automatic;
377375
};
@@ -746,11 +744,11 @@
746744
isa = XCBuildConfiguration;
747745
buildSettings = {
748746
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
749-
CODE_SIGN_IDENTITY = "Mac Developer";
747+
CODE_SIGN_IDENTITY = "-";
750748
CODE_SIGN_STYLE = Automatic;
751749
COMBINE_HIDPI_IMAGES = YES;
752750
CURRENT_PROJECT_VERSION = 631;
753-
DEVELOPMENT_TEAM = CYC8C8R4K9;
751+
DEVELOPMENT_TEAM = "";
754752
ENABLE_HARDENED_RUNTIME = YES;
755753
INFOPLIST_FILE = MonitorControl/Info.plist;
756754
LD_RUNPATH_SEARCH_PATHS = (
@@ -799,11 +797,11 @@
799797
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
800798
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
801799
CODE_SIGN_ENTITLEMENTS = MonitorControlHelper/MonitorControlHelper.entitlements;
802-
CODE_SIGN_IDENTITY = "Mac Developer";
800+
CODE_SIGN_IDENTITY = "-";
803801
CODE_SIGN_STYLE = Automatic;
804802
COMBINE_HIDPI_IMAGES = YES;
805803
CURRENT_PROJECT_VERSION = 631;
806-
DEVELOPMENT_TEAM = CYC8C8R4K9;
804+
DEVELOPMENT_TEAM = "";
807805
ENABLE_HARDENED_RUNTIME = YES;
808806
GCC_C_LANGUAGE_STANDARD = gnu11;
809807
INFOPLIST_FILE = MonitorControlHelper/Info.plist;

0 commit comments

Comments
 (0)