We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8de638 commit d7ea0c5Copy full SHA for d7ea0c5
codebuild/spec/cargotiming.yml
@@ -0,0 +1,30 @@
1
+---
2
+# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+# SPDX-License-Identifier: Apache-2.0
4
+version: 0.2
5
+env:
6
+ shell: bash
7
+ variables:
8
+ # This assumes you have a Rust toolchain installed
9
+ CARGO: "cargo +nightly"
10
+ RUST_TOOLCHAIN: "1.74.1-x86_64-unknown-linux-gnu"
11
+phases:
12
+ install:
13
+ commands:
14
+ - echo "Installing Rust ..."
15
+ - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
16
+ - . $HOME/.cargo/env
17
+ - rustup toolchain install $RUST_TOOLCHAIN
18
+ build:
19
20
+ - cargo build --timings
21
+ post_build:
22
23
+ - cargo test --exclude s2n-quic-platform --workspace
24
+
25
+artifacts:
26
+ # upload timing reports
27
+ files:
28
+ - '**/*'
29
+ base-directory: target/cargo-timings
30
0 commit comments