1640 Commits

Author SHA1 Message Date
Hiroshi SHIBATA
6e20e92d0a Disable auto-update of bundled gems 2025-12-24 19:44:54 +09:00
Hiroshi SHIBATA
7d2815d907
Add flag for prevent to update NEWS.md for release day. 2025-12-24 13:48:35 +09:00
Nobuyoshi Nakada
bd4353ba7a CI: Assume all C source files are UTF-8 now 2025-12-17 17:38:52 +09:00
Hiroshi SHIBATA
2117e612ca Disabled gem sync for Ruby 4.0 release 2025-12-17 11:11:52 +09:00
dependabot[bot]
38d67986b0 Bump actions/cache in /.github/actions/setup/directories
Bumps [actions/cache](https://github.com/actions/cache) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](a783357455...9255dc7a25)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 16:56:19 -08:00
dependabot[bot]
a2dc4d7faa Bump actions/upload-artifact from 5.0.0 to 6.0.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 12:11:52 +09:00
dependabot[bot]
76f30030c9 Bump msys2/setup-msys2 from 2.29.0 to 2.30.0
Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2) from 2.29.0 to 2.30.0.
- [Release notes](https://github.com/msys2/setup-msys2/releases)
- [Changelog](https://github.com/msys2/setup-msys2/blob/main/CHANGELOG.md)
- [Commits](fb197b72ce...4f806de0a5)

---
updated-dependencies:
- dependency-name: msys2/setup-msys2
  dependency-version: 2.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-14 18:33:35 -08:00
dependabot[bot]
dd25fdcd4a Bump actions/cache from 5.0.0 to 5.0.1
Bumps [actions/cache](https://github.com/actions/cache) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](a783357455...9255dc7a25)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-14 18:31:44 -08:00
Nobuyoshi Nakada
c198436f08
Run omnibus compilations without git 2025-12-14 10:09:41 +09:00
Takashi Kokubun
6ed5574b19 Revert "ZJIT: Exclude failing ruby-bench benchmarks (#15479)"
This reverts commit 1eb10ca3cb6cff98bb8c0946ed905921586c7d52.

This should have been fixed by https://github.com/ruby/ruby/pull/15536.
2025-12-12 17:27:23 -08:00
dependabot[bot]
cf97a14c78 Bump actions/cache from 4.3.0 to 5.0.0
Bumps [actions/cache](https://github.com/actions/cache) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](0057852bfa...a783357455)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 17:55:19 +09:00
dependabot[bot]
0022a87800 Bump actions/cache in /.github/actions/setup/directories
Bumps [actions/cache](https://github.com/actions/cache) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](0057852bfa...a783357455)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 17:55:00 +09:00
Takashi Kokubun
be43ad37b7 release.yml: Fix tag conversion for Ruby 4.0
and PREVIOUS_RELEASE_TAG for any .0 releases
2025-12-11 17:57:38 -08:00
Alan Wu
f8f8ff6106 auto_request_review.yml: Update path for jit related docs 2025-12-11 15:45:56 -05:00
Takashi Kokubun
330ddccfee
ubuntu.yml: Add a ruby-bench job without ZJIT (#15480) 2025-12-10 10:10:54 -08:00
Takashi Kokubun
1eb10ca3cb
ZJIT: Exclude failing ruby-bench benchmarks (#15479) 2025-12-10 09:45:09 -08:00
Takashi Kokubun
ec862b41dc
ZJIT: Prohibit ZJIT support with USE_FLONUM=0 (#15471) 2025-12-09 21:18:03 -08:00
Alan Wu
fb72ff7be0 CI: Avoid building ZJIT when LLVM is too old 2025-12-05 15:49:25 -05:00
Alan Wu
f01fd2bde2 JITs: Update bindings to include interpreter zjit_ opcodes
Mostly YJIT. ZJIT already has the right bindings and this just tweaks
the CI configuration.
2025-12-05 15:49:25 -05:00
dependabot[bot]
f4466ec8cb Bump actions/checkout in /.github/actions/setup/directories
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1af3b93b68...8e8c483db8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-02 18:35:41 -08:00
dependabot[bot]
bf144d8c10 Bump actions/checkout from 6.0.0 to 6.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v6...v6.0.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-02 18:31:11 -08:00
Nobuyoshi Nakada
e2d176556e CI: Distclean mswin
Use the given `make-command` instead of the hard-coded `make` command.

TODO: Use it for `make up` as well, in the future.
2025-12-02 09:55:01 +09:00
Peter Zhu
e13ad22274 Re-enable clang-18
The issue might have been fixed in 8bf333a.
2025-11-29 07:15:57 -08:00
dependabot[bot]
3b09db3b35 Bump actions/checkout from 5.0.1 to 6.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v5.0.1...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-27 16:36:52 +09:00
dependabot[bot]
cdf4634dc1 Bump actions/checkout in /.github/actions/setup/directories
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](93cb6efe18...1af3b93b68)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-27 16:36:32 +09:00
Alan Wu
724e94a09c ZJIT: CI: Run btest with call-threshold=2 2025-11-25 21:26:08 -05:00
Nobuyoshi Nakada
7ba986383c
CI: Add timeout to compilations [ci skip] 2025-11-25 13:55:20 +09:00
Nobuyoshi Nakada
32a4545ee4
CI: Abandon CAPI check on macos-15
`hashFiles` is very unstable on macOS runners.
2025-11-23 21:46:51 +09:00
Peter Zhu
7ae0809c7c Remove clang-18 from compilers CI
clang-18 has a bug that causes ruby_current_ec to sometimes be null when
using Ractors and crashes like this:

    <internal:ractor>:700: [BUG] Segmentation fault at 0x0000000000000030
    ruby 4.0.0dev (2025-11-21T06:49:14Z master bcc7b2049c) +PRISM [x86_64-linux]

    -- Control frame information -----------------------------------------------
    c:0004 p:0003 s:0015 e:000014 l:y b:0001 METHOD <internal:ractor>:700
      me:
        called_id: receive, type: iseq
        owner class: 0x00007ff462dda500 T_CLASS/Ractor::Port
      self: 0x00007ff46146d068 ractor/port/Ractor::Port ractor/port
    c:0003 p:0008 s:0011 e:000010 l:y b:0001 METHOD <internal:ractor>:311
      me:
        called_id: receive, type: iseq
        owner class: 0x00007ff462ddae60 T_CLASS/(anon)
      self: 0x00007ff462ddaf00 T_CLASS/Ractor
    c:0002 p:0010 s:0007 e:000006 l:n b:---- BLOCK  bootstraptest.test_ractor.rb_2354_1323.rb:9 [FINISH]
      self: 0x00007ff46146d090 ractor/Ractor r:68
      lvars:
        j: T_FIXNUM 66
    c:0001 p:---- s:0003 e:000002 l:y b:---- DUMMY  [FINISH]
      self: T_NIL

    -- Ruby level backtrace information ----------------------------------------
    bootstraptest.test_ractor.rb_2354_1323.rb:9:in 'block (2 levels) in <main>'
    <internal:ractor>:311:in 'receive'
    <internal:ractor>:700:in 'receive'

    -- Threading information ---------------------------------------------------
    Total ractor count: 7
    Ruby thread count for this ractor: 1

    -- Machine register context ------------------------------------------------
    RIP: 0x00007ff47c7df5f0 RBP: 0x000055d77ea5b4f0 RSP: 0x00007ff445fa3af0
    RAX: 0x0000000000000000 RBX: 0x000055d77e9fd068 RCX: 0x000055d77e9fd040
    RDX: 0x000055d77eb2ac40 RDI: 0x00007ff47cbe7700 RSI: 0x0000000000000000
      R8: 0x0000000000000000  R9: 0x0000000000000000 R10: 0x000055d77e9fc830
    R11: 0x93ba1054e59bfb14 R12: 0x000055d77ea5b4f0 R13: 0x00007ff445f82f20
    R14: 0x00007ff4614cf668 R15: 0x000055d77e9fd040 EFL: 0x0000000000010246

    -- C level backtrace information -------------------------------------------
    libruby.so.4.0(rb_print_backtrace+0x14) [0x7ff47c8cbd18] vm_dump.c:1105
    libruby.so.4.0(rb_vm_bugreport) vm_dump.c:1450
    libruby.so.4.0(rb_bug_for_fatal_signal+0x162) [0x7ff47c70ce02] error.c:1131
    libruby.so.4.0(sigsegv+0x4a) [0x7ff47c82f20a] signal.c:948
    /lib/x86_64-linux-gnu/libc.so.6(0x7ff47c34a330) [0x7ff47c34a330]
    libruby.so.4.0(rb_ec_thread_ptr+0x0) [0x7ff47c7df5f0] vm_core.h:2092
    libruby.so.4.0(rb_ec_ractor_ptr) vm_core.h:2041
    libruby.so.4.0(rb_current_execution_context) vm_core.h:2110
    libruby.so.4.0(rb_current_ractor_raw) vm_core.h:2109
    libruby.so.4.0(rb_current_ractor) vm_core.h:2117
    libruby.so.4.0(ractor_unlock) ractor.c:110
    libruby.so.4.0(ractor_unlock_self) ractor.c:125
    libruby.so.4.0(ractor_wait) ractor_sync.c:1054
    libruby.so.4.0(ractor_wait_receive) ractor_sync.c:1113
    libruby.so.4.0(ractor_receive+0x25) [0x7ff47c7ded08] ractor_sync.c:1166
    libruby.so.4.0(ractor_port_receive) ractor_sync.c:143
    libruby.so.4.0(builtin_inline_class_700) ractor.rb:701
    libruby.so.4.0(invoke_bf+0x4) [0x7ff47c8a2060] vm_insnhelper.c:7534
    libruby.so.4.0(vm_invoke_builtin_delegate) vm_insnhelper.c:0
    libruby.so.4.0(vm_exec_core) insns.def:1674
    libruby.so.4.0(vm_exec_loop+0x0) [0x7ff47c89b868] vm.c:2784
    libruby.so.4.0(rb_vm_exec) vm.c:2787
    libruby.so.4.0(vm_invoke_proc+0x344) [0x7ff47c8b03f4] vm.c:1814
    libruby.so.4.0(thread_do_start_proc+0x17a) [0x7ff47c870bba] thread.c:593
    libruby.so.4.0(thread_do_start+0x162) [0x7ff47c87042f] thread.c:635
    libruby.so.4.0(thread_start_func_2) thread.c:686
    libruby.so.4.0(rb_native_mutex_lock+0x0) [0x7ff47c870fd1] thread_pthread.c:2238
    libruby.so.4.0(thread_sched_lock_) thread_pthread.c:403
    libruby.so.4.0(call_thread_start_func_2) thread_pthread_mn.c:466
    libruby.so.4.0(co_start) thread_pthread_mn.c:464
2025-11-21 07:30:37 -08:00
Nobuyoshi Nakada
9d04fb52af
CI: cmake in scoop seems unused 2025-11-21 10:51:29 +09:00
Peter Zhu
e15b4e1c56 Bump default compiler to clang-20 in CI
clang-18 has a bug that causes the latest Ractor btest to crash.
2025-11-20 15:10:19 -08:00
Benoit Daloze
f3f3a40cdc The C-API specs cache should be invalidated when C-API specs .c & .h files are changed 2025-11-19 12:36:40 +01:00
dependabot[bot]
3ee08c8df8 Bump actions/checkout in /.github/actions/setup/directories
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](08c6903cd8...93cb6efe18)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-19 11:52:11 +09:00
dependabot[bot]
b5d0aac900 Bump actions/checkout from 5.0.0 to 5.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v5...v5.0.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-17 18:34:37 -08:00
Daisuke Fujimura (fd0)
6fabca80a3 Add rubygems package to fix cygwin CI 2025-11-15 08:37:23 +09:00
Takashi Kokubun
de157f423e
ZJIT: Skip a flaky DNS test (#15192) 2025-11-14 18:46:42 +00:00
Takashi Kokubun
d966ba757c Revert ".github/workflows: Stop ignoring RUBY_TESTOPTS"
This reverts commit 946695cdad874e91bc25bedc3c7b322934ca0f07.

Apparently this doesn't work for test-bundled-gems
2025-11-14 10:16:10 -08:00
Takashi Kokubun
946695cdad .github/workflows: Stop ignoring RUBY_TESTOPTS
$(RUBY_TESTOPTS) are used in $(TESTOPTS), so if you pass $(TESTOPTS),
it'd be ignored.
2025-11-14 09:52:20 -08:00
Takashi Kokubun
fb48b3020c spec_guards.yml: Add fail-fast: false
fail-fast is never a good idea for master branch.
2025-11-12 12:41:49 -08:00
Hiroshi SHIBATA
b33da0a6aa
Added email and name for git pull --rebase
```
Rebasing (1/3)
Committer identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.
```
2025-11-12 10:35:34 +09:00
dependabot[bot]
cb50ed2cc2 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 12:04:49 +09:00
Takashi Kokubun
17efb770c8 sync_default_gems.yml: Pull --rebase before push
It was supposed to update a local branch in case the remote branch was
updated between actions/checkout and the end of tool/sync_default_gems.rb.

Note that this `git pull` didn't exist in the original bin/update-default-gem.sh
d9e9bcc60d,
so it was newly introduced at 3ba5cfd1cb.

But `git pull --no-ff` failed when master had updates in an unrelated
repository. I think we need to use `git pull --rebase` instead.

This fixes:

* https://github.com/ruby/ruby/actions/runs/19207693793/job/54905403070
    * checkout: f08030e9dccf38d9ea5c9505203fe26484dc28d8
    * ruby tool/sync_default_gems.rb net-http ec9c70a6fba75a63c128864ef3cb32c883665a33..e4d80bd609f22cad04a2e2c1d54c981bb853c938
    * pull: 2bf82c627494e785737037bbaf9a6b98f3c6354c
2025-11-09 10:01:56 -08:00
Takashi Kokubun
a7a4bb93fc
Automatically review default-gem pull requests (#15116) 2025-11-09 07:16:42 -08:00
Takashi Kokubun
529dd8d76e cygwin.yml: Disable a broken step
https://github.com/ruby/ruby/actions/runs/19201736990/job/54890646022
2025-11-08 19:49:32 -08:00
Takashi Kokubun
aacd9f206a Notify CI failures of Cygwin 2025-11-07 21:55:41 -08:00
Takashi Kokubun
c6c92bdce3
zjit-macos.yml: Unset MAKEFLAGS before ruby-bench (#15084) 2025-11-06 10:50:58 -08:00
Takashi Kokubun
d3d2357a6c
ZJIT: Run ruby-bench CI for macOS arm64 as well (#15040) 2025-11-05 09:57:59 -08:00
Hiroshi SHIBATA
2172057f1b Use Ruby 3.4 for sync_default_gems.rb
```
tool/sync_default_gems.rb:177:in `block in <module:SyncDefaultGems>': undefined local variable or method `it' for SyncDefaultGems:Module (NameError)

      it.exclude << "lib/open3/jruby_windows.rb"
      ^^
	from <internal:kernel>:90:in `tap'
	from tool/sync_default_gems.rb:176:in `<module:SyncDefaultGems>'
	from tool/sync_default_gems.rb:10:in `<main>'
```
2025-11-05 15:46:28 +09:00
dependabot[bot]
0eac75df46 Bump gacts/run-and-post-run in /.github/actions/setup/directories
Bumps [gacts/run-and-post-run](https://github.com/gacts/run-and-post-run) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/gacts/run-and-post-run/releases)
- [Commits](d803f6920a...81b6ce503c)

---
updated-dependencies:
- dependency-name: gacts/run-and-post-run
  dependency-version: 1.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-03 18:39:11 -08:00
Takashi Kokubun
c54faf29d3 release.yml: Use workflow_dispatch for docker-images
instead of repository_dispatch.

Only that workflow reacts to repository_dispatch, so just using
workflow_dispatch should be enough. We want to use workflow_dispatch for
manual triggers, and I don't want to maintain two different dispatch
methods in the workflow.
2025-10-30 15:23:47 -07:00