Skip to content

Commit a85d902

Browse files
committed
fix: make ci parallel
1 parent f8732c1 commit a85d902

File tree

3 files changed

+51
-51
lines changed

3 files changed

+51
-51
lines changed

.github/workflows/build-app.yml

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

.github/workflows/ci.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: MiniSim CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
11+
concurrency:
12+
group: ${{ github.ref }}-build
13+
cancel-in-progress: true
14+
15+
jobs:
16+
build:
17+
runs-on: macos-14
18+
steps:
19+
- name: Checkout Repository
20+
uses: actions/checkout@v2
21+
22+
- name: Set up Xcode
23+
uses: maxim-lobanov/setup-xcode@v1
24+
with:
25+
xcode-version: 15
26+
27+
- name: Build
28+
run: set -o pipefail && xcodebuild -scheme MiniSim -destination 'platform=macOS' -skipPackagePluginValidation -skipMacroValidation build COMPILER_INDEX_STORE_ENABLE=NO | xcbeautify --renderer github-actions
29+
30+
test:
31+
runs-on: macos-14
32+
steps:
33+
- name: Checkout Repository
34+
uses: actions/checkout@v2
35+
36+
- name: Set up Xcode
37+
uses: maxim-lobanov/setup-xcode@v1
38+
with:
39+
xcode-version: 15
40+
41+
- name: Test
42+
run: xcodebuild -scheme MiniSim -destination 'platform=macOS' -skipPackagePluginValidation -skipMacroValidation test COMPILER_INDEX_STORE_ENABLE=NO
43+
44+
lint:
45+
runs-on: ubuntu-latest
46+
steps:
47+
- name: Checkout Repository
48+
uses: actions/checkout@v2
49+
50+
- name: GitHub Action for SwiftLint
51+
uses: norio-nomura/[email protected]

.github/workflows/swiftlint.yml

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

0 commit comments

Comments
 (0)