summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-05-09 23:12:25 +0900
committerAlan Wu <XrXr@users.noreply.github.com>2025-05-15 00:39:03 +0900
commit1825ae456783fc0cc6f675abb2f38de9d38f0f13 (patch)
tree8402e4b298476fe803a1f259f3e6a93b52021ed5
parent92b218fbc379fe85792eb060b71520e271971335 (diff)
ZJIT: Add CI runs for building with YJIT
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13262
-rw-r--r--.github/workflows/compilers.yml2
-rw-r--r--.github/workflows/zjit-macos.yml6
2 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml
index 55009b9604..4dd1fdd2e7 100644
--- a/.github/workflows/compilers.yml
+++ b/.github/workflows/compilers.yml
@@ -299,6 +299,8 @@ jobs:
- { uses: './.github/actions/compilers', name: 'VM_DEBUG_BP_CHECK', with: { cppflags: '-DVM_DEBUG_BP_CHECK' } }
- { uses: './.github/actions/compilers', name: 'VM_DEBUG_VERIFY_METHOD_CACHE', with: { cppflags: '-DVM_DEBUG_VERIFY_METHOD_CACHE' } }
- { uses: './.github/actions/compilers', name: 'enable-yjit', with: { append_configure: '--enable-yjit' } }
+ - { uses: './.github/actions/compilers', name: 'enable-{y,z}jit', with: { append_configure: '--enable-yjit --enable-zjit' } }
+ - { uses: './.github/actions/compilers', name: 'enable-{y,z}jit=dev', with: { append_configure: '--enable-yjit=dev --enable-zjit' } }
- { uses: './.github/actions/compilers', name: 'YJIT_FORCE_ENABLE', with: { cppflags: '-DYJIT_FORCE_ENABLE' } }
- { uses: './.github/actions/compilers', name: 'UNIVERSAL_PARSER', with: { cppflags: '-DUNIVERSAL_PARSER' } }
diff --git a/.github/workflows/zjit-macos.yml b/.github/workflows/zjit-macos.yml
index 4a7a2fbf01..b68d5b8369 100644
--- a/.github/workflows/zjit-macos.yml
+++ b/.github/workflows/zjit-macos.yml
@@ -35,6 +35,12 @@ jobs:
- test_task: 'zjit-test'
configure: '--enable-zjit=dev'
+ - test_task: 'ruby' # build test for combo build
+ configure: '--enable-yjit --enable-zjit'
+
+ - test_task: 'ruby' # build test for combo build
+ configure: '--enable-yjit --enable-zjit=dev'
+
- test_task: 'test-all'
configure: '--enable-zjit=dev'
tests: '../src/test/ruby/test_zjit.rb'