Skip to content

Commit 4d3f514

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

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+
lint:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout Repository
20+
uses: actions/checkout@v2
21+
22+
- name: GitHub Action for SwiftLint
23+
uses: norio-nomura/[email protected]
24+
25+
build:
26+
runs-on: macos-14
27+
steps:
28+
- name: Checkout Repository
29+
uses: actions/checkout@v2
30+
31+
- name: Set up Xcode
32+
uses: maxim-lobanov/setup-xcode@v1
33+
with:
34+
xcode-version: 15
35+
36+
- name: Build
37+
run: set -o pipefail && xcodebuild -scheme MiniSim -destination 'platform=macOS' -skipPackagePluginValidation -skipMacroValidation build COMPILER_INDEX_STORE_ENABLE=NO | xcbeautify --renderer github-actions
38+
39+
test:
40+
runs-on: macos-14
41+
steps:
42+
- name: Checkout Repository
43+
uses: actions/checkout@v2
44+
45+
- name: Set up Xcode
46+
uses: maxim-lobanov/setup-xcode@v1
47+
with:
48+
xcode-version: 15
49+
50+
- name: Test
51+
run: xcodebuild -scheme MiniSim -destination 'platform=macOS' -skipPackagePluginValidation -skipMacroValidation test COMPILER_INDEX_STORE_ENABLE=NO

.github/workflows/swiftlint.yml

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

0 commit comments

Comments
 (0)