Граф коммитов

513 Коммитов

Автор SHA1 Сообщение Дата
Takashi Kokubun 43650f606e
Notify CI failures of Miscellaneous checks 2022-10-06 11:58:50 -07:00
Nobuyoshi Nakada 85fc822307
CodeQL slowness on syntax_suggest fixed at 2.10.5
This reverts commit d152ac677c, "Make
CodeQL ignore syntax_suggest because of the performance problem".
Probably all instances seem to already have updated to 2.10.5 now.
2022-10-02 18:36:45 +09:00
Takashi Kokubun e81a612413 Auto-generate mjit_c.rb.erb 2022-09-23 06:44:28 +09:00
Nobuyoshi Nakada 9058ba218c
Binstubs test with relative path seems passing now 2022-09-22 12:54:23 +09:00
Takashi Kokubun 2c6fdc4d65
Improve Ubuntu GitHub Actions (#6413)
Make the job names more understandable and avoid testing too many
duplicated things.
2022-09-22 00:22:21 +09:00
Takashi Kokubun 1a2ee4cfab
Try reordering test-all and test-spec for mswin CI
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-21 22:01:20 +09:00
Takashi Kokubun 1ad1f07306
Fix a broken Slack notification
The matrix doesn't have `os`.
2022-09-21 13:38:46 +09:00
卜部昌平 45482fea3c LLVM 15 released
See https://discourse.llvm.org/t/llvm-15-0-0-release/65099
2022-09-21 11:44:09 +09:00
Takashi Kokubun f8dad616c2
YJIT: Show --yjit-stats of railsbench on CI (#6403)
* 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
2022-09-20 06:07:28 +09:00
Nobuyoshi Nakada d152ac677c
Make CodeQL ignore syntax_suggest because of the performance problem
https://github.com/github/codeql/discussions/10120#discussioncomment-3485880
2022-09-15 10:25:11 +09:00
Takashi Kokubun 6a78ae2fe2
Remove CODEOWNERS to switch to auto-request-review (#6365)
* Remove CODEOWNERS to switch to auto-request-review

* Random change to test reviews

* Revert "Random change to test reviews"

This reverts commit 814b10d062d82d953019ea4afadc3f8fcf638379.
2022-09-14 07:21:19 +09:00
Takashi Kokubun 391eebfe69
Increase the timeout for make all on MinGW
https://github.com/ruby/ruby/actions/runs/3041702828/jobs/4899106526#step:14:1219
2022-09-13 10:48:32 +09:00
Takashi Kokubun 2e21fef6a4
Drop synchronized event
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-13 10:38:11 +09:00
Takashi Kokubun 64cd097009
Tweak the glob for auto_request_review 2022-09-13 10:24:35 +09:00
Takashi Kokubun 9179f666fb
Configure auto_request_review for YJIT team
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-13 10:18:17 +09:00
Takashi Kokubun 7232f264df
Remove -j from MinGW test-all
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-11 10:14:56 +09:00
Takashi Kokubun 06eb9af8c0
Add mjit-bindgen workflow (#6327) 2022-09-05 01:06:37 -07:00
Nobuyoshi Nakada 652a624891
miniruby may not be built when cross-compiling 2022-09-03 19:19:55 +09:00
Benoit Daloze a319d3cfdc Run specs with CHECK_LEAKS=true
* To ensure these issues are noticed early.
2022-08-29 15:32:48 +02:00
Hiroshi SHIBATA 3a2bc84954 Added test-syntax-suggest to CI 2022-08-26 12:15:47 +09:00
Maxime Chevalier-Boisvert 60c900f452
Add @k0kubun to CODEOWNERS for YJIT 2022-08-23 14:27:49 -07:00
Hiroshi SHIBATA 9f6fcfcd7f
Ubuntu 18.04 in GHA is deprecated from Aug 8,2022
https://github.com/actions/runner-images/issues/6002
2022-08-23 14:04:15 +09:00
Nobuyoshi Nakada d91865f33f
Ignore `.document` only commits [ci skip] 2022-08-22 18:08:05 +09:00
Nobuyoshi Nakada f0a7694f64
Show the exact version of cl.exe [ci skip]
[Misc #18362] is fixed at cl.exe 19.33.31629.
2022-08-22 17:12:08 +09:00
Nobuyoshi Nakada 74d95744bd
Add `--enable-devel` configure option
Since `RUBY_DEVEL` in cppflags has no effect in the configure script
and makefiles.
2022-08-11 11:34:52 +09:00
Jeremy Evans 357352af5e Do not enable RUBY_DEVEL by RUBY_PATCHLEVEL
This makes RUBY_DEVEL not enabled automatically.  It still can be
enabled manually.

Test manually using RUBY_DEVEL in CI.

Implements [Feature #17468]
2022-08-09 22:13:17 -07:00
Takashi Kokubun 0d68286be9
Revert "Try reproducing the MinGW hang on time command (#6168)"
This reverts commit bee5089d67.

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-28 16:12:46 -07:00
Takashi Kokubun bee5089d67
Try reproducing the MinGW hang on time command (#6168)
to see if it really exits correctly. 

GitHub Support asked me to confirm the command is exiting correctly.
2022-07-27 21:29:14 -07:00
Nobuyoshi Nakada 91c05b34cd Bundled gems test needs `prepare-gems`
`prepare-gems` downloads and extracts the bundled gems, and these gems
are built by `build-exts` now.
2022-07-25 08:50:07 +09:00
Peter Zhu 3ff53c8e04 Remove macOS 10.15 from CI
macOS 10.15 is deprecated on GitHub Actions and will have periodic
brownouts. See actions/virtual-environments#5583.
2022-07-21 11:49:24 -04:00
Nobuyoshi Nakada e330dceb3f
Mark ruby scripts in YAML [ci skip]
```elisp
(mmm-ify-by-regexp 'ruby-mode
  "^ *#!.*ruby" 0 "^ *shell: *ruby.*{0}" 0 0)
```
2022-07-20 09:40:59 +09:00
Nobuyoshi Nakada 8794cc6289
Tentatively put macOS CIs back with adding macOS 12 2022-07-07 15:06:10 +09:00
Yuta Saito 76619bbb11 [wasm] get rid of workaround use of older binaryen and update to latest
We no longer need to use older version of binaryen since the blocker
issue has been resolved https://github.com/WebAssembly/binaryen/issues/4401
2022-07-06 11:59:38 +09:00
Nobuyoshi Nakada 3a9ff9457a
CI: skip the failing test only 2022-07-05 11:35:14 +09:00
Nobuyoshi Nakada b5f871888e
CI: skip objspace test on MinGW for now 2022-07-05 11:33:47 +09:00
Nobuyoshi Nakada 06a241ad28
Disable USE_DEBUG_COUNTER test for now [ci skip] 2022-07-03 00:07:06 +09:00
Nobuyoshi Nakada 8c6a2cc24e
Add check for USE_DEBUG_COUNTER 2022-07-03 00:05:52 +09:00
Nobuyoshi Nakada 3cf0018119
CI: Add conditions for `test_task` on MinGW 2022-07-01 20:55:29 +09:00
Nobuyoshi Nakada 7dfaa617a4
Use `matrix.arch` separated from `matrix.configure`
Statically determined value should be set statically.
2022-06-30 17:56:04 +09:00
Nobuyoshi Nakada 41cdf9b114
Show flags instead of `-s` option in `GNUMAKEFLAGS` 2022-06-23 22:52:45 +09:00
Nobuyoshi Nakada 2f7c0f656e
Pass LDFLAGS via environment variable 2022-06-23 22:52:45 +09:00
Nobuyoshi Nakada e6f92cada1 Refactor compilations workflow
Now some entries need multiple variables for customization, and only
one environment variable per entry is not enough.
To solve it, dccfff943c 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`.
2022-06-22 18:32:22 +09:00
卜部昌平 7ef67bf9a2 [CI] add gcc-12 2022-06-21 15:30:54 +09:00
Jun Aruga eed24b5ee0 .github/workflows/compilers.yml: annocheck: Fix gaps and notes test.
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>.
2022-06-21 09:38:52 +12:00
Jun Aruga f8b6d4f4d1 .github/workflows/compilers.yml: Skip gaps test on annocheck 10.76.
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
...
```
2022-06-20 12:08:25 +02:00
Nobuyoshi Nakada 5047283070
Skip CIs if the head commit message contains '[DOC]' 2022-06-19 11:05:31 +09:00
Jun Aruga cfcf33f127 .github/workflows/compilers.yml: annocheck: Fix a linker flag to pass MJIT tests.
Set the linker flag `-Wl,-z,now` properly.

Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>

Fixes [Bug #18781]
2022-06-07 00:25:19 +02:00
Alan Wu 899c90cf8a
YJIT: Relax minimum Rust version requirement to 1.58.1
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>
2022-05-29 13:43:02 -04:00
Koichi Sasada 2d1e7dfc36 remove `-DTHREAD_DEBUG` rule
(but it was already commented out)
2022-05-24 10:06:51 +09:00
Takashi Kokubun ead96e7b44
Rename test_jit to test_mjit
to avoid confusion with YJIT
2022-05-20 21:32:55 -07:00