Skip to content

Commit 0540be4

Browse files
committed
chore(ci): update building system
1 parent 5464e33 commit 0540be4

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/scripts/build_app.sh

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

.github/workflows/Build.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ jobs:
55
build:
66
name: Building SCLAlertView
77
runs-on: macos-15
8+
strategy:
9+
matrix:
10+
scheme: [
11+
SCLAlertView
12+
]
13+
destination: [
14+
'platform=iOS Simulator,name=iPhone 16,OS=26.1'
15+
]
816
steps:
917
- name: Checkout repository
1018
uses: actions/checkout@v4
@@ -20,5 +28,9 @@ jobs:
2028
ruby-version: 3.1.2
2129
bundler-cache: true
2230

23-
- name: Building iOS app
24-
run: exec ./.github/scripts/build_app.sh
31+
- name: Building ${{ matrix.scheme }} on ${{ matrix.destination }}
32+
run: |
33+
set -o pipefail && xcodebuild -project SCLAlertView.xcodeproj \
34+
-scheme ${{ matrix.scheme }} \
35+
-destination '${{ matrix.destination }}' \
36+
clean build | xcbeautify --renderer github-actions

0 commit comments

Comments
 (0)