forked from pact-foundation/pact-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
31 lines (25 loc) · 835 Bytes
/
.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
BUILD_TEST_TASK_TEMPLATE: &BUILD_TEST_TASK_TEMPLATE
test_pact_mock_server_cli_script: |
cd rust/pact_mock_server_cli
cargo build --target ${BUILD_TARGET} --release
../target/${BUILD_TARGET}/release/pact_mock_server_cli --help
rm -rf ../target/
test_pact_verifier_cli_script: |
cd rust/pact_verifier_cli
cargo build --target ${BUILD_TARGET} --release
../target/${BUILD_TARGET}/release/pact_verifier_cli --help
linux_arm64_task:
arm_container:
image: rustlang/rust:nightly
cpu: 4
memory: 12G
env:
BUILD_TARGET: aarch64-unknown-linux-gnu
<< : *BUILD_TEST_TASK_TEMPLATE
macosx_arm64_task:
macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-base:latest
setup_script: brew install rust
env:
BUILD_TARGET: aarch64-apple-darwin
<< : *BUILD_TEST_TASK_TEMPLATE