Skip to content

build(deps): use tpm2-tss version 4.1.3 instead of nightly #211

build(deps): use tpm2-tss version 4.1.3 instead of nightly

build(deps): use tpm2-tss version 4.1.3 instead of nightly #211

Workflow file for this run

name: Build
on:
pull_request:
paths:
- 'src/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/actions/install-tpm2-tss/**'
- '.github/workflows/build.yml'
push:
paths:
- 'src/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/actions/install-tpm2-tss/**'
- '.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.88.0"
- stable
os-arch:
- ubuntu-24.04-x86_64
- ubuntu-24.04-aarch64
include:
- os-arch: ubuntu-24.04-x86_64
runner: ubuntu-24.04
target: x86_64-unknown-linux-gnu
- os-arch: ubuntu-24.04-aarch64
runner: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 # v1.15.4
with:
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.target }}
- uses: ./.github/actions/install-tpm2-tss
with:
version: "30e6057722058cb85c292dcb7b77760ad6410d4e" # version 4.1.3
# - run: sudo apt-get update && sudo apt-get install -y libtss2-dev pkg-config
- name: Build
env:
TSS2_ESYS_STATIC: 1
TSS2_SYS_STATIC: 1
TSS2_MU_STATIC: 1
TSS2_TCTILDR_STATIC: 1
run: cargo build --workspace --all-targets --all-features --target ${{ matrix.target }}