summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2022-09-23Auto-generate mjit_c.rb.erbTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/6418
2022-09-22Binstubs test with relative path seems passing nowNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6416 Merged-By: nobu <nobu@ruby-lang.org>
2022-09-22Improve Ubuntu GitHub Actions (#6413)Takashi Kokubun
Make the job names more understandable and avoid testing too many duplicated things. Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-09-21Try reordering test-all and test-spec for mswin CITakashi Kokubun
Visual Studio 2019 GitHub Actions has been super unstable. Somehow nmake test-spec triggers rebuilding the interpreter and fails. usa suggested a possibility of test-all leaving something impacting test-spec. I'd like to try this patch and see what happens.
2022-09-21Fix a broken Slack notificationTakashi Kokubun
The matrix doesn't have `os`.
2022-09-21LLVM 15 released卜部昌平
See https://discourse.llvm.org/t/llvm-15-0-0-release/65099 Notes: Merged: https://github.com/ruby/ruby/pull/6358
2022-09-20YJIT: Show --yjit-stats of railsbench on CI (#6403)Takashi Kokubun
* YJIT: Show --yjit-stats of railsbench on CI * YJIT: Use --enable-yjit=dev to see ratio_in_yjit * YJIT: Show master GitHub URL for quick comparison * YJIT: Avoid making CI red by a yjit-bench failure Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-09-15Make CodeQL ignore syntax_suggest because of the performance problemNobuyoshi Nakada
https://github.com/github/codeql/discussions/10120#discussioncomment-3485880
2022-09-14Remove CODEOWNERS to switch to auto-request-review (#6365)Takashi Kokubun
* Remove CODEOWNERS to switch to auto-request-review * Random change to test reviews * Revert "Random change to test reviews" This reverts commit 814b10d062d82d953019ea4afadc3f8fcf638379. Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-09-13Increase the timeout for make all on MinGWTakashi Kokubun
https://github.com/ruby/ruby/actions/runs/3041702828/jobs/4899106526#step:14:1219
2022-09-13Drop synchronized eventTakashi Kokubun
because it doesn't seem to be working. It's a bit annoying that synchronized doesn't work, but in many cases, opened and ready_for_review should be enough. As a last resort, you could close/reopen it. Also, the token scope needs to be public_repo instead of repo:status.
2022-09-13Tweak the glob for auto_request_reviewTakashi Kokubun
2022-09-13Configure auto_request_review for YJIT teamTakashi Kokubun
We need to use pull_request_target instead of pull_request to use secrets. pull_request_target seems to be executed from the default branch, so pushing this to master to test this.
2022-09-11Remove -j from MinGW test-allTakashi Kokubun
MinGW CI has been crashing too often. Now that we don't have slow test_mjit in MinGW, I'd like to see if not using parallel test workers fixes the problem.
2022-09-05Add mjit-bindgen workflow (#6327)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-09-03miniruby may not be built when cross-compilingNobuyoshi Nakada
2022-08-29Run specs with CHECK_LEAKS=trueBenoit Daloze
* To ensure these issues are noticed early.
2022-08-26Added test-syntax-suggest to CIHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6287
2022-08-23Add @k0kubun to CODEOWNERS for YJITMaxime Chevalier-Boisvert
2022-08-23Ubuntu 18.04 in GHA is deprecated from Aug 8,2022Hiroshi SHIBATA
https://github.com/actions/runner-images/issues/6002
2022-08-22Ignore `.document` only commits [ci skip]Nobuyoshi Nakada
2022-08-22Show the exact version of cl.exe [ci skip]Nobuyoshi Nakada
[Misc #18362] is fixed at cl.exe 19.33.31629.
2022-08-11Add `--enable-devel` configure optionNobuyoshi Nakada
Since `RUBY_DEVEL` in cppflags has no effect in the configure script and makefiles. Notes: Merged: https://github.com/ruby/ruby/pull/6230
2022-08-09Do not enable RUBY_DEVEL by RUBY_PATCHLEVELJeremy Evans
This makes RUBY_DEVEL not enabled automatically. It still can be enabled manually. Test manually using RUBY_DEVEL in CI. Implements [Feature #17468] Notes: Merged: https://github.com/ruby/ruby/pull/4993
2022-07-28Revert "Try reproducing the MinGW hang on time command (#6168)"Takashi Kokubun
This reverts commit bee5089d6789401f265f87b2f23f1bd7ec63cec8. Looking at https://github.com/ruby/ruby/runs/7564065637?check_suite_focus=true, we concluded that the ruby process for test-all is stuck before exit when this issue reproduces. However, because of our limited bandwidth to support MinGW, we're not investigating this, and therefore we need to keep skipping tests that hang on this environment.
2022-07-27Try reproducing the MinGW hang on time command (#6168)Takashi Kokubun
to see if it really exits correctly. GitHub Support asked me to confirm the command is exiting correctly. Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-07-25Bundled gems test needs `prepare-gems`Nobuyoshi Nakada
`prepare-gems` downloads and extracts the bundled gems, and these gems are built by `build-exts` now. Notes: Merged: https://github.com/ruby/ruby/pull/6175
2022-07-21Remove macOS 10.15 from CIPeter Zhu
macOS 10.15 is deprecated on GitHub Actions and will have periodic brownouts. See actions/virtual-environments#5583. Notes: Merged: https://github.com/ruby/ruby/pull/6162
2022-07-20Mark ruby scripts in YAML [ci skip]Nobuyoshi Nakada
```elisp (mmm-ify-by-regexp 'ruby-mode "^ *#!.*ruby" 0 "^ *shell: *ruby.*{0}" 0 0) ```
2022-07-07Tentatively put macOS CIs back with adding macOS 12Nobuyoshi Nakada
2022-07-06[wasm] get rid of workaround use of older binaryen and update to latestYuta Saito
We no longer need to use older version of binaryen since the blocker issue has been resolved https://github.com/WebAssembly/binaryen/issues/4401 Notes: Merged: https://github.com/ruby/ruby/pull/6091
2022-07-05CI: skip the failing test onlyNobuyoshi Nakada
2022-07-05CI: skip objspace test on MinGW for nowNobuyoshi Nakada
2022-07-03Disable USE_DEBUG_COUNTER test for now [ci skip]Nobuyoshi Nakada
2022-07-03Add check for USE_DEBUG_COUNTERNobuyoshi Nakada
2022-07-01CI: Add conditions for `test_task` on MinGWNobuyoshi Nakada
2022-06-30Use `matrix.arch` separated from `matrix.configure`Nobuyoshi Nakada
Statically determined value should be set statically.
2022-06-23Show flags instead of `-s` option in `GNUMAKEFLAGS`Nobuyoshi Nakada
2022-06-23Pass LDFLAGS via environment variableNobuyoshi Nakada
2022-06-22Refactor compilations workflowNobuyoshi Nakada
Now some entries need multiple variables for customization, and only one environment variable per entry is not enough. To solve it, dccfff943c3e has introduced overriding variables by `env` key for each entries. This commit uses `env` keys for the other environment variables too, instead of appending to `$GITHUB_ENV`. Notes: Merged: https://github.com/ruby/ruby/pull/6051
2022-06-21[CI] add gcc-12卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/6050
2022-06-21.github/workflows/compilers.yml: annocheck: Fix gaps and notes test.Jun Aruga
This commit fixes on the annocheck gaps and notes tests on Ubuntu focal on CI. Added the gcc `-Wa,--generate-missing-build-notes=yes` flag. See the links below. * -Wa,option: <https://gcc.gnu.org/onlinedocs/gcc-11.3.0/gcc/Assembler-Options.html#Assembler-Options>. * --generate-missing-build-notes=yes: <https://www.man7.org/linux/man-pages/man1/as.1.html>. Notes: Merged: https://github.com/ruby/ruby/pull/6045
2022-06-20.github/workflows/compilers.yml: Skip gaps test on annocheck 10.76.Jun Aruga
This commit is to skip a failure with annocheck 10.76 on the annocheck test case on the CI. Previously The test worked with annocheck 10.73. The issue was reported at <https://bugs.ruby-lang.org/issues/18061#note-24>. > Hardened: ruby: MAYB: test: gaps because no notes found > Hardened: ruby: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-gaps.html It seems that the annocheck added the gaps test at 10.76. Maybe the upstream commit is below. The annocheck is a part of the annobin project: https://sourceware.org/annobin/ ``` $ git clone git://sourceware.org/git/annobin.git $ git show 61184ae1180a134bfbbd125e9fe339baedd67c18 commit 61184ae1180a134bfbbd125e9fe339baedd67c18 Author: Nick Clifton <nickc@redhat.com> Date: Mon Jun 13 16:56:46 2022 +0100 Annocheck: Add TEST_GAPS. Add MAYB for TEST_NOTES if DWARF info could not be found ... ``` Notes: Merged: https://github.com/ruby/ruby/pull/6043
2022-06-19Skip CIs if the head commit message contains '[DOC]'Nobuyoshi Nakada
2022-06-07.github/workflows/compilers.yml: annocheck: Fix a linker flag to pass MJIT ↵Jun Aruga
tests. Set the linker flag `-Wl,-z,now` properly. Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> Fixes [Bug #18781] Notes: Merged: https://github.com/ruby/ruby/pull/5938
2022-05-29YJIT: Relax minimum Rust version requirement to 1.58.1Alan Wu
We want to make it convenient for people to build YJIT and Rust version 1.58.1 or above is available on Ubuntu Jammy, Debian testing, and Fedora 36 through the usual package manager on those systems. This saves the need to install `rustup` for some people. Our code is already 1.58.1 compatible so this commit simply tweaks CI to make sure that we keep supporting that version. We still test against the latest Rust version in `--enable-yjit=dev` builds through the Rust version available in GitHub's CI image. Rust versions older than 1.58.1 might build YJIT today, but we might make incompatible changes in the future. Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> Notes: Merged: https://github.com/ruby/ruby/pull/5951 Merged-By: XrXr
2022-05-24remove `-DTHREAD_DEBUG` ruleKoichi Sasada
(but it was already commented out) Notes: Merged: https://github.com/ruby/ruby/pull/5933
2022-05-20Rename test_jit to test_mjitTakashi Kokubun
to avoid confusion with YJIT
2022-05-18Write skipping instead of skiping [ci skip]Kaíque Kandy Koga
https://www.lexico.com/en/definition/skip Notes: Merged: https://github.com/ruby/ruby/pull/5913 Merged-By: nobu <nobu@ruby-lang.org>
2022-05-16Add `make test-annocheck` to detect security issues.Jun Aruga
* Note that as the annocheck binary package is not available on Ubuntu, and it is working in progress in Debian, the script uses Fedora container, and it requires docker or podman command. https://www.debian.org/devel/wnpp/itp.en.html https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926470 * .github/workflows/compilers.yml: Add "gcc-11 annocheck" case. To pass the CI, set `TEST_ANNOCHECK_OPTS: "--skip-pie --skip-notes"` for now. See <https://bugs.ruby-lang.org/issues/18061>. * Skip MJIT tests in case of annocheck case. The MJIT tests fail in the annocheck case. See <https://bugs.ruby-lang.org/issues/18781>. Notes: Merged: https://github.com/ruby/ruby/pull/5900