Skip to content

Commit b571076

Browse files
committed
Fix SDK gem CI: add libclang-dev for Linux, drop Windows from native gem matrix
1 parent 4519bf9 commit b571076

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release-sdk-gem.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ jobs:
4141
runner: macos-15-intel,
4242
platform: x86_64-darwin,
4343
}
44-
- { name: win-x64, runner: windows-2022, platform: x64-mingw-ucrt }
44+
# Windows is excluded: rb-sys bindgen fails because RubyInstaller is
45+
# MinGW-based and its rbconfig emits GCC flags that are incompatible
46+
# with the MSVC clang used by bindgen. The source gem provides a
47+
# fallback for Windows users (compiled at install time).
4548

4649
steps:
4750
- name: Checkout
@@ -80,6 +83,10 @@ jobs:
8083
done
8184
done
8285
86+
- name: Install system dependencies (Linux)
87+
if: runner.os == 'Linux'
88+
run: sudo apt-get update -q && sudo apt-get install -y libclang-dev
89+
8390
- name: Read Rust toolchain
8491
shell: bash
8592
run: |

0 commit comments

Comments
 (0)