Skip to content

Commit

Permalink
Fix bindings failure on PRs (#208)
Browse files Browse the repository at this point in the history
* Added `[generate bindings]` command for CI

Update maintainer guide

* Update bindings [skip ci]

* Update MAINTAINERS_GUIDE.md

Co-authored-by: Ilia Kosenkov <[email protected]>

---------

Co-authored-by: CGMossa <[email protected]>
Co-authored-by: Ilia Kosenkov <[email protected]>
  • Loading branch information
3 people committed Apr 21, 2024
1 parent b9dcde2 commit 8b4d4fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,7 @@ jobs:
with:
name: generated_binding-${{ matrix.config.os }}-R-${{ matrix.config.r }}-rust-${{ matrix.config.rust-version }}-${{ matrix.config.target || 'default'}}
path: generated_bindings

# # Run tests again using different bindings
# - name: Run tests on precomputed bindings shipped with libR-sys
# if: matrix.config.skip-tests != 'true'
# run: |
# . ./ci-cargo.ps1
# ci-cargo test -vv $(if ($env:RUST_TARGET -ne '') {"--target=$env:RUST_TARGET"} ) '--' --nocapture -ActionName "Running tests for target: $env:RUST_TARGET"
# env:
# RUST_TARGET: ${{ matrix.config.target }}

check_generate_bindings_flag:
name: Check if [generate bindings] is in latest commit message
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions bindings/bindings-macos-x86_64-R4.2.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* automatically generated by rust-bindgen 0.69.1 */

/* libR-sys version: 0.6.0 */
/* bindgen clang version: Homebrew clang version 17.0.3 */
/* clang-rs version: Homebrew clang version 17.0.3 */
/* bindgen clang version: Homebrew clang version 17.0.2 */
/* clang-rs version: Homebrew clang version 17.0.2 */
/* r version: 4.2.3 */

#[repr(C)]
Expand Down

0 comments on commit 8b4d4fe

Please sign in to comment.