Skip to content

Commit 09760ba

Browse files
Disable macOS 11 pipeline except PR to master
macOS 11 building process takes about 30 minutes vs 18 on macOS 12. And in the same way there's low possibility that what builds on macOS 12 wouldn't build on macOS 11.
1 parent 6721de4 commit 09760ba

File tree

3 files changed

+8
-25
lines changed

3 files changed

+8
-25
lines changed

.github/workflows/linux.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/macOS-11.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
11
name: "macOS 11"
22

33
on:
4-
push:
5-
branches:
6-
- master
7-
- develop
8-
- hotfix
9-
- feature/github-actions-2.0
10-
paths:
11-
- Packag*.swift
12-
- web3swift.podspec
13-
- Cartfile
14-
- Sources/**
15-
- 'Tests/**'
16-
- 'web3swift*/**'
17-
- '.github/workflows/**'
184
pull_request:
195
branches:
206
- master
21-
- develop
22-
- unstable
7+
8+
env:
9+
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
2310

2411
jobs:
2512
spm:
@@ -28,8 +15,6 @@ jobs:
2815
concurrency:
2916
group: spm-${{ github.run_id }}
3017
cancel-in-progress: false
31-
env:
32-
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
3318
steps:
3419
- uses: actions/checkout@v2
3520
- name: Resolve dependencies
@@ -46,14 +31,13 @@ jobs:
4631
run: swift test --skip-build -c debug --filter localTests
4732
- name: Run remote tests
4833
run: swift test --skip-build -c debug --filter remoteTests
34+
4935
carthage-iOS:
5036
name: Carthage
5137
runs-on: macOS-11
5238
concurrency:
5339
group: carthage-${{ github.run_id }}
5440
cancel-in-progress: false
55-
env:
56-
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app/Contents/Developer
5741
strategy:
5842
fail-fast: false
5943
max-parallel: 2

.github/workflows/macOS-12.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ on:
2121
- develop
2222
- unstable
2323

24+
env:
25+
DEVELOPER_DIR: /Applications/Xcode_13.3.1.app/Contents/Developer
26+
2427
jobs:
2528
spm:
2629
name: Swift Package Manager 5.5
2730
runs-on: macOS-12
2831
concurrency:
2932
group: spm-${{ github.run_id }}
3033
cancel-in-progress: false
31-
env:
32-
DEVELOPER_DIR: /Applications/Xcode_13.3.1.app/Contents/Developer
3334
steps:
3435
- uses: actions/checkout@v2
3536
- name: Resolve dependencies
@@ -46,14 +47,13 @@ jobs:
4647
run: swift test --skip-build -c debug --filter localTests
4748
- name: Run remote tests
4849
run: swift test --skip-build -c debug --filter remoteTests
50+
4951
carthage-iOS:
5052
name: Carthage
5153
runs-on: macOS-12
5254
concurrency:
5355
group: carthage-${{ github.run_id }}
5456
cancel-in-progress: false
55-
env:
56-
DEVELOPER_DIR: /Applications/Xcode_13.3.1.app/Contents/Developer
5757
strategy:
5858
fail-fast: false
5959
max-parallel: 2

0 commit comments

Comments
 (0)