Skip to content

Commit

Permalink
Workaround for cmake issue where FFI header may not be generated in time
Browse files Browse the repository at this point in the history
Signed-off-by: Anand Krishnamoorthi <[email protected]>
  • Loading branch information
anakrish committed Jun 19, 2024
1 parent 46e28b3 commit 018aaa8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/test-c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
- name: Setup gcc, g++, cmake, ninja
run: sudo apt update && sudo apt install -y gcc g++ cmake ninja-build

- name: Workaround to ensure that regorus.h is generated
run: |
cargo build -r
working-directory: ./bindings/ffi

- name: Test c binding
run: |
mkdir bindings/c/build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ffi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: bindings/c-cpp
name: bindings/ffi

on:
push:
Expand Down

0 comments on commit 018aaa8

Please sign in to comment.