Skip to content

Commit

Permalink
Install bindgen cli before compile
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonbaeten committed Aug 26, 2024
1 parent 81b4dce commit ebbfc27
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,3 @@ jobs:

- name: Cross build
run: cross build --release --locked --target ${{ matrix.target }} --manifest-path backend/Cargo.toml
env:
AWS_LC_SYS_CMAKE_BUILDER: 1
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ jobs:

- name: Cross build
run: cross build --release --locked --target ${{ matrix.target }} --manifest-path backend/Cargo.toml
env:
AWS_LC_SYS_CMAKE_BUILDER: 1

- name: Copy binaries
if: ${{ matrix.platform == null }}
Expand Down
7 changes: 6 additions & 1 deletion backend/Cross.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
[build]
pre-build = [
"cargo install --force --locked bindgen-cli",
]

[build.env]
passthrough = [
"AWS_LC_SYS_CMAKE_BUILDER"
"AWS_LC_SYS_CMAKE_BUILDER=1"
]

0 comments on commit ebbfc27

Please sign in to comment.