Skip to content

feat!: rename TPM2TOOLS_TCTI to RUST_TPM2_CLI_TCTI #19

feat!: rename TPM2TOOLS_TCTI to RUST_TPM2_CLI_TCTI

feat!: rename TPM2TOOLS_TCTI to RUST_TPM2_CLI_TCTI #19

Workflow file for this run

name: Build
on:
pull_request:
paths:
- 'src/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/build.yml'
push:
paths:
- 'src/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/build.yml'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.runner }}
strategy:
fail-fast: false
matrix:
toolchain:
- "1.90"
- stable
os:
- ubuntu-x64
- ubuntu-arm64
include:
- os: ubuntu-x64
runner: ubuntu-24.04
target: x86_64-unknown-linux-gnu
- os: ubuntu-arm64
runner: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
steps:
- uses: actions/checkout@v6
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.target }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libtss2-dev pkg-config
- run: cargo build --workspace --all-targets --all-features --target ${{ matrix.target }}