forked from futo-org/polycentric
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cirrus.yml
More file actions
41 lines (39 loc) · 1.59 KB
/
.cirrus.yml
File metadata and controls
41 lines (39 loc) · 1.59 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
build_ios_device_task:
name: buildRsCoreIOSDevice
macos_instance:
image: ghcr.io/cirruslabs/macos-sequoia-xcode:26.2
buildRsCoreIOSDevice_script:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- source "$HOME/.cargo/env"
- cd packages/rs-core
- brew install just protobuf llvm
- just build-ffi-ios
- cp ../../target/aarch64-apple-ios/release/libpolycentric_core.a ../../libpolycentric_core-ios-device.a
binary_artifacts:
path: 'libpolycentric_core-ios-device.a'
build_ios_sim_arm64_task:
name: buildRsCoreIOSSimArm64
macos_instance:
image: ghcr.io/cirruslabs/macos-sequoia-xcode:26.2
buildRsCoreIOSSimArm64_script:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- source "$HOME/.cargo/env"
- cd packages/rs-core
- brew install just protobuf llvm
- just build-ffi-ios-sim
- cp ../../target/aarch64-apple-ios-sim/release/libpolycentric_core.a ../../libpolycentric_core-ios-sim-arm64.a
binary_artifacts:
path: 'libpolycentric_core-ios-sim-arm64.a'
build_ios_sim_x86_task:
name: buildRsCoreIOSSimX86
macos_instance:
image: ghcr.io/cirruslabs/macos-sequoia-xcode:26.2
buildRsCoreIOSSimX86_script:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- source "$HOME/.cargo/env"
- cd packages/rs-core
- brew install just protobuf llvm
- just build-ffi-ios-sim-x86
- cp ../../target/x86_64-apple-ios/release/libpolycentric_core.a ../../libpolycentric_core-ios-sim-x86_64.a
binary_artifacts:
path: 'libpolycentric_core-ios-sim-x86_64.a'