224 Commits

Author SHA1 Message Date
dependabot[bot]
00fdcb3ecd Bump actions/checkout from 6.0.1 to 6.0.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v6.0.1...v6.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 18:34:31 -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
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
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
Nobuyoshi Nakada
7ba986383c
CI: Add timeout to compilations [ci skip] 2025-11-25 13:55:20 +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
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
Takashi Kokubun
2223ca1fd6
compilers.yml: Run only specified tests for --with-gmp (#14798)
It's weird that --with-gmp runs test-tool just because it needs to run
test/ruby/test_bignum.rb and spec/ruby/core/integer/*_spec.rb.
2025-10-08 23:55:14 -07:00
Nobuyoshi Nakada
e19bb99347
CI: Remove "combo build tests" in Compilations [ci skip]
These tests are run in the dedicated workflows for JITs.
2025-09-15 17:11:41 +09:00
Nobuyoshi Nakada
4491c6737d
Remove RGENGC_OBJ_INFO compilations check
Now it is always compiled (and will be optimized away).
2025-09-14 14:28:57 +09:00
dependabot[bot]
89bce81516 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-09-09 13:01:00 +09:00
Takashi Kokubun
70b4b6fea0
Do not skip CI when it mentions "document" (#14232) 2025-08-14 15:12:46 -07:00
Hiroshi SHIBATA
946165bd48 Added clang-22 build 2025-08-05 11:41:43 +09:00
Nobuyoshi Nakada
2cb065d0a2
Update gcc for LTO to 15 2025-07-02 09:23:08 +09:00
Alan Wu
1825ae4567 ZJIT: Add CI runs for building with YJIT 2025-05-15 00:39:03 +09:00
Takashi Kokubun
2fee379f8f Checkout .github on omnibus result for notifications
It currently fails like: Can't find 'action.yml'
2025-05-13 13:05:45 -07:00
Hiroshi SHIBATA
cbc045a0ea Added GCC 15 build 2025-04-30 13:12:19 +09:00
Takashi Kokubun
0f3d6ee578
ZJIT: Disable ZJIT instructions when USE_ZJIT is 0 (#13199)
* ZJIT: Disable ZJIT instructions when USE_ZJIT is 0

* Test the order of ZJIT instructions

* Add more jobs that disable JITs

* Show instruction names in the message
2025-04-29 11:03:13 -07:00
Hiroshi SHIBATA
49c29cff47 Bump up to the latest versions of actions 2025-04-16 11:40:11 +09:00
Naoto Ono
1ead1eb6db
Increase timeouts in Compilations actions to reduce intermittent failures (#12827)
Compilations actions are flaky and intermittently failing now. This run (https://github.com/ruby/ruby/actions/runs/13572112090) is an example of the issue. The job fails due to exceeding the timeout, resulting in termination. To prevent these intermittent failures, I'm going to increase the timeout.
2025-02-28 08:01:19 +00:00
Nobuyoshi Nakada
4a67ef09cc
[Feature #21116] Extract RJIT as a third-party gem 2025-02-13 18:01:03 +09:00
Peter Zhu
e12f5259e4 Add timeout to compilers workflow
The default timeout on GitHub Actions is 360 minutes, the job usually takes
around 20 to 30 minutes to complete. This commit sets the timeout to be
40 minutes so jobs that hang will timeout faster.
2025-02-07 15:44:54 -05:00
卜部昌平
2ed1962cbe [CI] add CI matrix for clang-21
see also https://github.com/llvm/llvm-project/pull/124870
2025-02-07 08:49:26 +09:00
Naoto Ono
de50236c3a
Enable Launchable integration in compilers.yml (#12136) 2024-12-03 15:02:18 +09:00
卜部昌平
0f28be6ab9 [CI] add GCC 14 2024-11-13 16:09:58 +09:00
Matt Valentine-House
01e509c45b Remove RGENGC_FORCE_MAJOR_GC flag
[Bug #20762]
2024-11-05 15:36:34 +00:00
Nobuyoshi Nakada
40cd292f95
Balance omnibus compilations 2024-11-01 16:02:35 +09:00
Nobuyoshi Nakada
260d4c7af8
Balance omnibus compilations 2024-11-01 15:02:00 +09:00
Nobuyoshi Nakada
c11c99a5b5
Extract the condition to skip 2024-11-01 15:01:59 +09:00
Nobuyoshi Nakada
ef7d7ee723
CI: Use full name of the label 'Documentation'
Since `github.event.pull_request.labels.*.name` is an object filter,
the item to be searched in needs to be the same whole string, not a
partial string.
2024-10-07 22:00:31 +09:00
Hiroshi SHIBATA
76111af632 expand relative path 2024-10-01 17:35:38 +09:00
Hiroshi SHIBATA
4822220e6b Pass MSPECOPT from compilers.yml 2024-10-01 17:35:38 +09:00
卜部昌平
239c1c621e LLVM 20 begun
see also 10c6d6349e
2024-09-30 17:43:56 +09:00
Hiroshi SHIBATA
6abed7eae9 Test with -O3 is flaky now. I disabled it same as before. 2024-09-30 16:20:33 +09:00
Nobuyoshi Nakada
9d60480094
CI: Remove SHARED_GC compilation
It is checked in ubuntu.yml.
2024-09-30 00:03:14 +09:00
Nobuyoshi Nakada
5e466ad3f7
CI: Remove ENABLE_PATH_CHECK compilation
As `ENABLE_PATH_CHECK` is defaulted to 1 on other than DOSISH and
Cygwin, setting this macro to 1 on Ubuntu changes nothing from the
default.  As for `ENABLE_PATH_CHECK=0` tests, we have real CI
platforms already.
2024-09-30 00:03:14 +09:00
Nobuyoshi Nakada
52e40aeab6
Bump actions/checkout 2024-09-29 21:38:14 +09:00
Hiroshi SHIBATA
a896c4cc53 RGENGC_FORCE_MAJOR_GC is disabled same as current HEAD 2024-09-27 14:39:59 +09:00
Hiroshi SHIBATA
b63f3c9d9e Use user.login instead of actor 2024-09-27 14:39:59 +09:00
卜部昌平
52bb90f92d sequential execution of some CI tasks
reduced parallelism from some 50-ish to 10-ish so that other jobs
can run.
2024-09-27 14:39:59 +09:00
Nobuyoshi Nakada
3aae0873f7
Update clang for LTO 2024-09-09 19:22:45 +09:00
Nobuyoshi Nakada
391bb55a8e Run just bignum related tests when gmp enabled 2024-09-09 19:12:41 +09:00
Hiroshi SHIBATA
d731adb755
Strictly checking pull-request author 2024-08-22 16:38:54 +09:00
Peter Zhu
d0dfd963af Remove SHARED_GC job from compilers.yml
It's a duplicate of the one in ubuntu.yml
2024-07-11 11:38:00 -04:00
Peter Zhu
a0469a4788 Rename gc/gc_impl.c to gc/default.c
Changing the name makes it clear that this is the default GC in Ruby.
2024-07-11 09:09:47 -04:00
Peter Zhu
623eecce99 Use absolute path for shared_gc_dir 2024-07-10 09:21:12 -04:00
Peter Zhu
a9f6bd028a Add make target shared-gc
Allows building shared GC using `make shared-gc SHARED_GC=gc_impl`
2024-07-08 16:47:25 -04:00
Peter Zhu
3fede665ff Update GitHub actions for shared GC 2024-07-05 14:05:58 -04:00