Debian Codegraph @

crt/s2n/codebuild/spec/buildspec_timing.yml

raw symbols SCIP
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 OPENSSL_DIR: "/usr/local/openssl-3.0"
11 RUST_TOOLCHAIN: "1.72.0-x86_64-unknown-linux-gnu"
12 phases:
13 install:
14 commands:
15 - echo "Installing Rust ..."
16 - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
17 - . $HOME/.cargo/env
18 - rustup toolchain install $RUST_TOOLCHAIN
19 pre_build:
20 commands:
21 - |
22 cd bindings/rust/extended
23 ./generate.sh
24 cargo clean
25 build:
26 commands:
27 - cargo build --timings
28 post_build:
29 commands:
30 - cargo test --timings
31
32 artifacts:
33 # upload timing reports
34 files:
35 - "**/*"
36 base-directory: bindings/rust/extended/target/cargo-timings