chore: make sure aws-lc-sys wouldn't be built (#4767)

* chore: make sure aws-lc-sys wouldn't be built

* fix: bash

* refactor: multiple line bash
This commit is contained in:
discord9
2024-09-26 01:11:37 +08:00
committed by GitHub
parent cd4bf239d0
commit 0274e752ae

View File

@@ -269,6 +269,13 @@ jobs:
- name: Install cargo-gc-bin
shell: bash
run: cargo install cargo-gc-bin
- name: Check aws-lc-sys will not build
shell: bash
run: |
if cargo tree -i aws-lc-sys -e features | grep -q aws-lc-sys; then
echo "Found aws-lc-sys, which has compilation problems on older gcc versions. Please replace it with ring until its building experience improves."
exit 1
fi
- name: Build greptime bianry
shell: bash
# `cargo gc` will invoke `cargo build` with specified args