-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.cirrus.yml
30 lines (28 loc) · 1.05 KB
/
.cirrus.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
env:
PYOXIDIZER_SYSTEM_RUST: "1"
# build_apple_arm_task:
# only_if: $CIRRUS_BRANCH == 'master'
# macos_instance:
# image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
# setup_script:
# - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.66
# - brew install python
# - pip3 install pyoxidizer==0.24.0
# build_script:
# - source $HOME/.cargo/env
# - make build_mac ARCH=aarch64-apple-darwin
# - make verify_build_mac ARCH=aarch64-apple-darwin
release_apple_arm_task:
only_if: $CIRRUS_TAG != ''
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
setup_script:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.66
- brew install python
- pip3 install pyoxidizer==0.24.0
build_script:
- source $HOME/.cargo/env
- make build_mac ARCH=aarch64-apple-darwin
- make pack_mac ARCH=aarch64-apple-darwin BUILD_VERSION=$CIRRUS_TAG
binary_artifacts:
path: "dist/*"