mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
Remove the ffi-headers feature
Rely on a separate cbindgen instance instead, which is less self-contained but more practical.
This commit is contained in:
@@ -59,7 +59,9 @@ jobs:
|
||||
# Need to rebuild the FFI wrapper so that its binary is given a filename
|
||||
# without a hash.
|
||||
- name: Build FFI wrapper
|
||||
run: cargo build --manifest-path ffi/Cargo.toml --features ffi-headers
|
||||
run: |
|
||||
cargo build --manifest-path ffi/Cargo.toml
|
||||
cbindgen ffi/ -o ffi/include/loot_condition_interpreter.h
|
||||
|
||||
# Use bash because PowerShell doesn't fail if one command fails.
|
||||
- name: Build and run C++ tests
|
||||
@@ -120,7 +122,9 @@ jobs:
|
||||
# Need to rebuild the FFI wrapper so that its binary is given a filename
|
||||
# without a hash.
|
||||
- name: Build FFI wrapper
|
||||
run: cargo build --manifest-path ffi/Cargo.toml --features ffi-headers
|
||||
run: |
|
||||
cargo build --manifest-path ffi/Cargo.toml
|
||||
cbindgen ffi/ -o ffi/include/loot_condition_interpreter.h
|
||||
|
||||
# Use bash because PowerShell doesn't fail if one command fails.
|
||||
- name: Build and run C++ tests
|
||||
|
||||
Reference in New Issue
Block a user