Skip to content

Commit

Permalink
fix(.github/codecov): Install deps for fips codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
dongcarl committed Jan 2, 2025
1 parent f5b1ec7 commit 6585d9f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/install-action@cargo-llvm-cov
# From: https://github.com/rustls/rustls/blob/3751e24bbc1fef4f8d0bb3711a3be2a3d2a7b793/.github/workflows/build.yml#L59-L71
- name: "rustls: Install NASM for aws-lc-rs on Windows"
if: runner.os == 'Windows'
uses: ilammy/setup-nasm@v1
- name: "rustls: Install ninja-build tool for aws-lc-fips-sys on Windows"
if: runner.os == 'Windows'
uses: seanmiddleditch/gha-setup-ninja@v5
- name: "rustls: Install golang for aws-lc-fips-sys on macos"
if: runner.os == 'MacOS'
uses: actions/setup-go@v5
with:
go-version: "1.22.2"
- run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
Expand Down

0 comments on commit 6585d9f

Please sign in to comment.