-
Notifications
You must be signed in to change notification settings - Fork 22
45 lines (36 loc) · 1.12 KB
/
ci-obj-c.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: ci-obj-c
on:
pull_request:
branches:
- master
push:
branches:
- master
concurrency:
group: ${{ github.head_ref }}
jobs:
build_test:
name: Build & Test Objective-C Wrapper
if: "! contains(github.event.head_commit.message, '[skip ci objective-c wrapper]')"
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Build binary for IOS
run: yarn build:ios
- name: Update binary for wrapper
run: yarn wrapper:obj-c:update-binary
- name: List Installed Xcode Versions
run: |
echo "Listing installed Xcode versions:"
ls -1 /Applications | grep Xcode
- name: Verify Xcode Path
run: |
echo "Checking Xcode Developer Directory..."
ls -ld /Applications/Xcode_14.2.app/Contents/Developer || echo "Path not found or inaccessible"
- name: Build and test wrapper
run: yarn wrapper:obj-c:build
env:
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer