Skip to content

Commit 66f8bf0

Browse files
nficanoclaude
andcommitted
ci: force ruby-platform gem builds so sqlite3 works on 3.5
Ruby 3.5 (preview1) has no prebuilt sqlite3 native binary in the 2.9.4 release. Setting BUNDLE_FORCE_RUBY_PLATFORM=true forces source compilation against the bundled amalgamation, which works across all matrix entries. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 38ce0ce commit 66f8bf0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838
matrix:
3939
# Floor from arcp.gemspec required_ruby_version (>= 3.4.0) and latest stable.
4040
ruby: ['3.4', '3.5']
41+
env:
42+
# sqlite3 precompiled gems don't yet ship a 3.5 ABI binary (3.5 is
43+
# still preview). Force source compilation against the bundled
44+
# amalgamation so the matrix entry resolves.
45+
BUNDLE_FORCE_RUBY_PLATFORM: 'true'
4146
steps:
4247
- name: Checkout
4348
uses: actions/checkout@v4

0 commit comments

Comments
 (0)