-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathaction.yml
More file actions
51 lines (44 loc) · 1.33 KB
/
action.yml
File metadata and controls
51 lines (44 loc) · 1.33 KB
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
46
47
48
49
50
51
name: "Build xcframework"
description: "Create artifact with XCFramework for apple targets"
runs:
using: "composite"
steps:
- name: Setup
shell: bash
run: |
rustup toolchain install nightly-2025-12-05-aarch64-apple-darwin
rustup component add rust-src --toolchain nightly-2025-12-05-aarch64-apple-darwin
rustup target add \
x86_64-apple-darwin \
aarch64-apple-darwin \
aarch64-apple-ios \
aarch64-apple-ios-sim \
x86_64-apple-ios
- name: setup-cocoapods
uses: maxim-lobanov/setup-cocoapods@v1
with:
version: 1.16.2
- name: Set up XCode
uses: maxim-lobanov/setup-xcode@v1
with:
# TODO: Update to latest-stable once GH installs iOS 26 simulators
xcode-version: '^16.4.0'
- name: List simulators
shell: bash
run: |
xcrun xctrace list devices
- name: Build iOS & macOS xcframework
shell: bash
run: |
./tool/build_xcframework.sh
- name: Lint pod
shell: bash
run: |
pod lib lint
- uses: actions/upload-artifact@v4
with:
name: xcframework
retention-days: 14
compression-level: 0 # We're uploading a zip archive, no need to compress agan
path: |
powersync-sqlite-core.xcframework.zip