Skip to content

Commit 1541072

Browse files
g-markSteven Grosmark
andauthored
Update actions for macOS 12 & 13 (#42)
* Update actions * Delete .circleci directory * Move headers phase --------- Co-authored-by: Steven Grosmark <steven.grosmark@ww.com>
1 parent e84aeac commit 1541072

File tree

3 files changed

+23
-170
lines changed

3 files changed

+23
-170
lines changed

.circleci/config.yml

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

.github/workflows/build-test.yml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ on:
55
workflow_dispatch:
66

77
jobs:
8-
unit-test:
9-
runs-on: macos-11
8+
build-test-macos12:
9+
runs-on: macos-12
1010
strategy:
1111
matrix:
12-
xcode-version: [13.2, 12.5.1]
12+
xcode-version: [13.4.1, 14.0.1]
1313

1414
steps:
1515
- name: Checkout
@@ -22,9 +22,27 @@ jobs:
2222
run: fastlane scan --devices "iPhone 8,iPhone 11"
2323
env:
2424
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode-version }}.app
25+
26+
build-test-macos13:
27+
runs-on: macos-13
28+
strategy:
29+
matrix:
30+
xcode-version: [14.2, 14.3]
31+
32+
steps:
33+
- name: Checkout
34+
uses: actions/checkout@v2
35+
36+
- name: Install dependencies in Gemfile
37+
run: gem install fastlane
38+
39+
- name: Unit Tests, using Xcode ${{ matrix.xcode-version }}
40+
run: fastlane scan --devices "iPhone 8,iPhone 13"
41+
env:
42+
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode-version }}.app
2543

2644
build-spm:
27-
runs-on: macos-11
45+
runs-on: macos-latest
2846
steps:
2947
- name: Checkout
3048
uses: actions/checkout@v2

WWLayout.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@
200200
isa = PBXNativeTarget;
201201
buildConfigurationList = 798F25341FD18FA4006E6A44 /* Build configuration list for PBXNativeTarget "WWLayout" */;
202202
buildPhases = (
203+
798F251D1FD18FA4006E6A44 /* Headers */,
203204
798F251B1FD18FA4006E6A44 /* Sources */,
204205
7990EB912375A40E00D9ECDC /* SwiftLint */,
205206
798F251C1FD18FA4006E6A44 /* Frameworks */,
206-
798F251D1FD18FA4006E6A44 /* Headers */,
207207
798F251E1FD18FA4006E6A44 /* Resources */,
208208
);
209209
buildRules = (

0 commit comments

Comments
 (0)