Skip to content

Commit 227e43a

Browse files
authored
Install cmake to restore lintcheck runs (#14514)
`tokio-rustls` requires `aws-lc-sys` which requires `cmake 3.x` to be built. This installs `cmake 3.x` from the repository, overriding the `cmake 4.x` installation. The situation will be reexamined in a few weeks, as `aws-lc-sys` will get a new release in a few days with `cmake 4.x` support. We will then be able to remove this temporary fix. changelog: none r? @ghost
2 parents d28d234 + 88c46ea commit 227e43a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/lintcheck.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ jobs:
4949
path: target/debug/lintcheck
5050
key: lintcheck-bin-${{ hashfiles('lintcheck/**') }}
5151

52+
# Install cmake to build aws-lc-sys to build tokio-rustls
53+
- name: Install cmake
54+
run: sudo apt-get install -y cmake
55+
5256
- name: Build lintcheck
5357
if: steps.cache-lintcheck-bin.outputs.cache-hit != 'true'
5458
run: cargo build --manifest-path=lintcheck/Cargo.toml
@@ -92,6 +96,10 @@ jobs:
9296
path: target/debug/lintcheck
9397
key: lintcheck-bin-${{ hashfiles('lintcheck/**') }}
9498

99+
# Install cmake to build aws-lc-sys to build tokio-rustls
100+
- name: Install cmake
101+
run: sudo apt-get install -y cmake
102+
95103
- name: Build lintcheck
96104
if: steps.cache-lintcheck-bin.outputs.cache-hit != 'true'
97105
run: cargo build --manifest-path=lintcheck/Cargo.toml

0 commit comments

Comments
 (0)