Skip to content

Commit 3d7ea93

Browse files
fix(ci): install libclang before publishing crates in the release job (#10941)
rocksdb 0.24 made librocksdb-sys always run bindgen, which needs libclang at build time. cargo publish's verification build compiles from a clean checkout with no cache, so it hit this on zebra-state (and would recur on zebra-consensus, zebra-rpc, and zebrad, which all depend on zebra-state).
1 parent bb41d69 commit 3d7ea93

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ jobs:
121121
run: |
122122
echo "::error::Configure RELEASE_APP_ID and RELEASE_APP_PRIVATE_KEY before merging a Release PR. The app token is required before crates publish so the zebrad GitHub Release can trigger Docker and GCP workflows."
123123
exit 1
124+
- name: Install libclang for librocksdb-sys bindgen
125+
run: sudo apt-get update && sudo apt-get install -y libclang-dev
124126
- name: Publish crates and create tags
125127
id: release-plz
126128
uses: release-plz/action@e8792575c7f2366cf6ff3ccc33ead9ace5b691c7 #v0.5.130

0 commit comments

Comments
 (0)