summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2025-09-09Bump actions/checkout in /.github/actions/setup/directoriesdependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/11bd71901bbe5b1630ceea73d27597364c9af683...08c6903cd8c0fde910a37f88322edcfb5dd907a8) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08ZJIT, YJIT: Make the workflow names consistent with file names (#14462)Takashi Kokubun
ZJIT, YJIT: Make the workflow names consistent with file names
2025-09-08ZJIT: Fix backtraces on opt_new (#14461)Takashi Kokubun
2025-09-05ZJIT: Merge `make check` jobs (#14459)Takashi Kokubun
2025-09-05ZJIT: Stop optimizing toplevel locals (#14458)Takashi Kokubun
2025-09-05CI: ubuntu-ibm.yml: Set the runner user's primary group from the "id -g".Jun Aruga
Set the runner user's primary group to avoid a mismatch between the group IDs of "id -g" and C function getpwuid(uid_t uid) pw_gid in a test as a better workaround.
2025-09-05CI: ubuntu-ibm.yml: Fix a typo to print HOME env.Jun Aruga
2025-09-04Disable ubuntu-24.04-arm jobs for nowTakashi Kokubun
They don't start at all and they get cancelled. https://github.com/ruby/ruby/actions/runs/17476949351/job/49639049451 To unblock PR merges, let's disable it until it's fixed.
2025-09-04ZJIT: Run test-basic as well (#14447)Takashi Kokubun
2025-09-04ZJIT: Run against all bootstrap testsStan Lo
2025-09-04Use no-inline version rb_current_ec on ppc64leJun Aruga
This commit fixes the failures in bootstraptest/test_ractor.rb reported on the issue ticket <https://bugs.ruby-lang.org/issues/21534>. TLS (Thread-Local Storage) may not be accessed across .so on ppc64le too. I am not sure about that. The comment "// TLS can not be accessed across .so on ..." in this commit comes from the following commit. https://github.com/ruby/ruby/commit/319afed20fba8f9b44611d16e4930260f7b56b86#diff-408391c43b2372cfe1fefb3e1c2531df0184ed711f46d229b08964ec9e8fa8c7R118 > // on Darwin, TLS can not be accessed across .so` This failures only happened when configuring with cppflags=-DRUBY_DEBUG and -O3 on ppc64le. The reproducing steps were below. ``` $ ./autogen.sh $ ./configure -C --disable-install-doc cppflags=-DRUBY_DEBUG $ make -j4 $ make btest BTESTS=bootstraptest/test_ractor.rb ... FAIL 2/147 tests failed make: *** [uncommon.mk:913: yes-btest] Error 1 ``` The steps with a reproducing script based on the `bootstraptest/test_ractor.rb` were below. ``` $ cat test_ractor_1.rb counts = [] counts << Ractor.count p counts.inspect ractors = (1..2).map { Ractor.new { Ractor.receive } } counts << Ractor.count p counts.inspect ractors[0].send('End 0').join sleep 0.1 until ractors[0].inspect =~ /terminated/ counts << Ractor.count p counts.inspect ractors[1].send('End 1').join sleep 0.1 until ractors[1].inspect =~ /terminated/ counts << Ractor.count p counts.inspect $ make run TESTRUN_SCRIPT=test_ractor_1.rb ... vm_core.h:2017: Assertion Failed: rb_current_execution_context:ec == rb_current_ec_noinline() ... ``` The assertion failure happened at the following line. https://github.com/ruby/ruby/blob/f3206cc79bec2fd852e81ec56de59f0a67ab32b7/vm_core.h#L2017 This fix is similar with the following commit for the arm64. https://github.com/ruby/ruby/commit/f7059af50a31a4d27a04ace0beadb60616f3f971 Fixes [Bug #21534]
2025-09-03ZJIT: Ensure `clippy` passes and silence unnecessary warnings (#14439)Aiden Fox Ivey
2025-09-03Bump msys2/setup-msys2 from 2.28.0 to 2.29.0dependabot[bot]
Bumps [msys2/setup-msys2](https://github.com/msys2/setup-msys2) from 2.28.0 to 2.29.0. - [Release notes](https://github.com/msys2/setup-msys2/releases) - [Changelog](https://github.com/msys2/setup-msys2/blob/main/CHANGELOG.md) - [Commits](https://github.com/msys2/setup-msys2/compare/40677d36a502eb2cf0fb808cc9dec31bf6152638...fb197b72ce45fb24f17bf3f807a388985654d1f2) --- updated-dependencies: - dependency-name: msys2/setup-msys2 dependency-version: 2.29.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2025-08-31CI: Adjust time frame before the releaseNobuyoshi Nakada
2025-08-30CI: Warn longstanding development revision of bundled gemsNobuyoshi Nakada
2025-08-30CI: bundled_gems.yml: Split commit and pushNobuyoshi Nakada
2025-08-29Extend timeout-minutes for macOS --repeat-count=2Takashi Kokubun
https://github.com/ruby/ruby/actions/runs/17308244022/job/49136485007 I'm not sure if it's stuck forever at the end or happens to take that much time around the end of it, but let me just try this first. If it doesn't work, something's wrong with --repeat-count=2 on test-all.
2025-08-29YJIT: Drop yjit-bench CI job (#14394)Takashi Kokubun
2025-08-28CI: ubuntu-ibm.yml: Add GitHub Actions ppc64le caseJun Aruga
Note that the default configure option `./configure cppflags=-DRUBY_DEBUG` with the default optimization level `-O3`, causes the following Ractor test and other tests failing. So, we don't set the option in ppc64le case. ``` $ make btest BTESTS=bootstraptest/test_ractor.rb ``` See https://bugs.ruby-lang.org/issues/21534 for details.
2025-08-28CI: ubuntu-ibm.yml: RefactorJun Aruga
* Remove logic that was used for the ubuntu.yml, but not used for ubuntu-ibm.yml. * Add a dummy Ubuntu x86_64 case to make this CI pass on fork repositories. This case only runs on fork repositories.
2025-08-28Revert "CI: Drop Ubuntu s390x temporarily."Jun Aruga
This reverts commit c3c74e0d31c0c7327d2eb2c79b253d6500c6f2c0.
2025-08-27CI: Use `nproc` to count only on-line CPUs for GNUMAKEFLAGSJun Aruga
Use `nproc` rather than `nproc --all`. Because the number by the `nproc` is different from the number by the `nproc --all` on GitHub Actions ppc64le/s390x. This caused the `make` command runs much more jobs than the number of on-line CPUs on these environments. The make command ran 193 jobs in parallel for 4 on-line CPUs in GitHub Actions ppc64le, and ran 9 jobs in parallel for 4 on-line CPUs in GitHub Actions s390x. And this caused the high load average 34.58 on ppc64le, and 6.69 on s390x. These values should be less than 4.0. I believe we should use the `nproc` rather than `nproc --all`. ``` + nproc 4 + nproc --all 192 ``` ``` + nproc 4 + nproc --all 8 ``` See https://github.com/IBM/actionspz/issues/38 for details. Note the `--all` option in the `nproc --all` was originally added to boost CPU in a hyper threading environment where one physical core works like two logical cores. https://www.intel.com/content/www/us/en/gaming/resources/hyper-threading.html
2025-08-27CI: Drop Ubuntu s390x temporarily.Jun Aruga
We are seeing the not-starting s390x jobs. Until the following issue is fixed, we drop the s390x case. https://github.com/IBM/actionspz/issues/34
2025-08-26Build ppc64le and s390x jobs in a separate workflow (#14353)Takashi Kokubun
* cp ubuntu.yml ubuntu-ibm.yml * Revert "CI: ubuntu.yml: Skip user ground id test on ppc64le and s390x" This reverts commit 9fa87a668836f83ab836d0cbcefb4056622a0ed6. * Revert "CI: ubuntu.yml: Set HOME env on ppc64le and s390x" This reverts commit 05b654b43f6d0e92fbc3e1e908d811f031d59e40. * Revert "CI: ubuntu.yml: Add GitHub Actions s390x case" This reverts commit 099df0b40b215b2fc5db59569d45c59ee48111a7. * Remove duplication among copied jobs
2025-08-20Bump lewagon/wait-on-check-actiondependabot[bot]
Bumps [lewagon/wait-on-check-action](https://github.com/lewagon/wait-on-check-action) from 31f07a800aa1ba8518509dc8561cdf5a891deb4b to 0dceb95e7c4cad8cc7422aee3885998f5cab9c79. - [Release notes](https://github.com/lewagon/wait-on-check-action/releases) - [Changelog](https://github.com/lewagon/wait-on-check-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/lewagon/wait-on-check-action/compare/31f07a800aa1ba8518509dc8561cdf5a891deb4b...0dceb95e7c4cad8cc7422aee3885998f5cab9c79) --- updated-dependencies: - dependency-name: lewagon/wait-on-check-action dependency-version: 0dceb95e7c4cad8cc7422aee3885998f5cab9c79 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2025-08-20Bump actions/cache from 4.2.3 to 4.2.4dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.3 to 4.2.4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/5a3ec84eff668545956fd18022155c47e93e2684...0400d5f644dc74513175e3cd8d07132dd4860809) --- updated-dependencies: - dependency-name: actions/cache dependency-version: 4.2.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2025-08-20Enable Dependabot updates for vcpkgJamie Magee
See https://github.blog/changelog/2025-08-12-dependabot-version-updates-now-support-vcpkg/
2025-08-18Add the recipe to fix/update depend filesNobuyoshi Nakada
2025-08-17[Bug #21546] Make the generated pc file relocatableNobuyoshi Nakada
2025-08-16CI: windows: Skip rebuilding vcpkg packages when cache restoredNobuyoshi Nakada
2025-08-16CI: windows: Use possibly faster device for TMP/TEMPNobuyoshi Nakada
2025-08-15CI: Also show errors in rust-warnings.yml [ci skip]Alan Wu
At under a minute, this check runs faster than a lot of the other CI checks, so we might as well show errors from `cargo check` to serve as a smoke check in addition to surfacing warnings.
2025-08-14Do not skip CI when it mentions "document" (#14232)Takashi Kokubun
2025-08-12[DOC] Use the specified revision RDocNobuyoshi Nakada
2025-08-12CI: ubuntu.yml: Skip user ground id test on ppc64le and s390xJun Aruga
This is a temporary workaround.
2025-08-12CI: ubuntu.yml: Set HOME env on ppc64le and s390xJun Aruga
This is a temporary workaround.
2025-08-12CI: ubuntu.yml: Add GitHub Actions s390x caseJun Aruga
Add the s390x case using GitHub Actions ppc64le/s390x service. https://github.com/IBM/actionspz We can run the ppc64le/s390x cases only in the registered upstream repositories. https://github.com/IBM/actionspz/blob/main/docs/FAQ.md#what-about-forked-repos The following matrix upstream logic is to skip the ppc64le/s390x in the downstream (fork) repositories. ``` + upstream: + - ${{ github.repository == 'ruby/ruby' }} ``` Use the "os" list to determine the excluded ppc64le/s390x cases by using the "exclude" syntax. Because the "exclude" syntax are executed before the "include" syntax. Add the ubuntu-24.04-ppc64le as a comment, because the GitHub Actions ppc64le case has the following test errors and failures. https://bugs.ruby-lang.org/issues/21534
2025-08-11CI: Surface Rust warnings on PRs that touch any Rust codeAlan Wu
Rust PRs will have a failed CI step if they trigger any warnings. This helps us stay on top of warnings from new Rust releases and also ones we accidentally write. Fix a typo for demo, since this only runs when Rust files are changed.
2025-08-11ZJIT: CI: Use Rust version built into GitHub Actions imageAlan Wu
Saves the work of installing Rust for most jobs. Keep a job on each platform that tests 1.85.0, the minimum supported version, though.
2025-08-11CI: mingw: Use the official actions for msys2Hiroshi SHIBATA
Because ruby/setup-ruby is affected to test result.
2025-08-11CI: mingw: Set up msys2 environment variablesNobuyoshi Nakada
2025-08-11CI: mingw: Set `cmd` as the default shellNobuyoshi Nakada
It is used in more steps than `sh`.
2025-08-11CI: windows: Windows-2019 or earlier no longer usedNobuyoshi Nakada
2025-08-11CI: mingw: Tweak misc system & package infoNobuyoshi Nakada
2025-08-09CI: Remove Strawberry Perl pkg-configNobuyoshi Nakada
2025-08-08Bump actions/cache in /.github/actions/setup/directoriesdependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.3 to 4.2.4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/5a3ec84eff668545956fd18022155c47e93e2684...0400d5f644dc74513175e3cd8d07132dd4860809) --- updated-dependencies: - dependency-name: actions/cache dependency-version: 4.2.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2025-08-06CI: Use `\e` instead of `\033` [ci skip]Nobuyoshi Nakada
2025-08-05Added clang-22 buildHiroshi SHIBATA
2025-08-04[DOC] Show the rdoc coverage of ruby coreNobuyoshi Nakada
2025-07-31Also added arch variable to download-cache keysHiroshi SHIBATA