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

536 Коммитов

Автор SHA1 Сообщение Дата
Takashi Kokubun fca50abb7c
Let mjit-bindgen use BASERUBY and bundle/inline (#6740) 2022-11-15 23:42:41 -08:00
Takashi Kokubun 9228ae97c5
Try to let dependabot maintain the version comment
It seems like dependabot supports updating the `# vX.Y.Z` comment.
The reason why I disabled this was that it failed to update this, but
maybe it was because it had `, checking sha`. Let me try it again with
that removed.
2022-11-14 16:53:14 -08:00
dependabot[bot] ea278ddd92 Bump actions/upload-artifact from 3.1.0 to 3.1.1
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](3cea537223...83fd05a356)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 11:54:32 +09:00
Hiroshi SHIBATA 90bbc891b1 Enable only master-branch 2022-11-11 21:12:56 +09:00
Hiroshi SHIBATA 5a1ddc486b Test with topic-branch 2022-11-11 21:12:56 +09:00
Hiroshi SHIBATA 800caf4ee1 Use secrets.SCORECARD_READ_TOKEN 2022-11-11 21:12:56 +09:00
Hiroshi SHIBATA a0fcbce415 Try to use ossf/scorecards 2022-11-11 21:12:56 +09:00
yui-knk f7db1affd1 Set default %printer for NODE nterms
Before:

```
Reducing stack by rule 639 (line 5062):
   $1 = token "integer literal" (1.0-1.1: 1)
-> $$ = nterm simple_numeric (1.0-1.1: )
```

After:

```
Reducing stack by rule 641 (line 5078):
   $1 = token "integer literal" (1.0-1.1: 1)
-> $$ = nterm simple_numeric (1.0-1.1: NODE_LIT)
```

`"<*>"` is supported by Bison 2.3b (2008-05-27) or later.
https://git.savannah.gnu.org/cgit/bison.git/commit/?id=12e3584054c16ab255672c07af0ffc7bb220e8bc

Therefore developers need to install Bison 2.3b+ to build ruby from
source codes if their Bison is older.

Minimum version requirement for Bison is changed to 3.0.

See: https://bugs.ruby-lang.org/issues/19068 [Feature #19068]
2022-11-08 12:30:03 +09:00
Hiroshi SHIBATA 59a6caf83a
Run only daily schedule because CodeQL provides a lot of false-positive results for Ruby code 2022-11-03 07:27:11 +09:00
Nobuyoshi Nakada 0717cb8419
Try -fstack-protector-strong on MinGW
The CI for MinGW has used it.
2022-10-30 19:16:09 +09:00
Nobuyoshi Nakada 2821423105
Run spec_guards only when spec files changed [ci skip] 2022-10-30 17:13:15 +09:00
Takashi Kokubun 792dc553f1
YJIT: Test --yjit-verify-ctx on GitHub Actions as well (#6639) 2022-10-26 18:20:33 -04:00
Takashi Kokubun a8e2d73628
Fix the url of Cirrus failure notifications [ci skip]
The previous one was the url of this notification action, but we want to
see a link to Cirrus CI.

This code follows https://cirrus-ci.org/guide/notifications/.

Also, head_branch was null only for pull requests from a fork, so we can
use it for branch-based filtering, which is good.
2022-10-26 13:52:07 -07:00
Takashi Kokubun 94f3aa2126
Improve Cirrus notification metadata [ci skip] 2022-10-25 23:02:04 -07:00
Takashi Kokubun df43611021
CI skip should not be notified [ci skip] 2022-10-25 22:49:35 -07:00
Takashi Kokubun 923aed26ff
Start notifying Cirrus CI failures
It looks like Cirrus doesn't natively support notifications and they
recomment to use GitHub Actions for it.
https://cirrus-ci.org/guide/notifications/

Because I don't know what the payload looks like, I just added a basic
payload and dumped GitHub context so that we could improve it later.
2022-10-25 21:50:23 -07:00
Takashi Kokubun 1dd9511b67
Use ruby/action-slack@v3.0.0 and ref_name (#6633)
It's moved from k0kubun to ruby org.

Also, we don't need JavaScript eval to generate branch if we use
github.ref_name, so v3.0.0 is a version that doesn't use eval.

Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-10-25 17:53:08 -07:00
Nobuyoshi Nakada 1b235dcfd9
Ignore manual files only commits [ci skip] 2022-10-18 17:44:31 +09:00
Takashi Kokubun b7de04d161
Disable dependabot for auto-request-review for now
because you have to manually update the version tag comment.
It feels unsafe to trust third party git tags when you need to pass
MATZBOT_GITHUB_TOKEN to it. Git commit sha alone isn't human-readable
and I'm reluctant to remove the comment either. It doesn't seem worth
the effort to review changes for every release of this action.
2022-10-16 22:47:49 -07:00
dependabot[bot] bfc6c1f1cb
Bump necojackarc/auto-request-review from 0.7.0 to 0.8.0 (#6571)
Bumps [necojackarc/auto-request-review](https://github.com/necojackarc/auto-request-review) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/necojackarc/auto-request-review/releases)
- [Commits](e08cdffa27...b5e8187645)

---
updated-dependencies:
- dependency-name: necojackarc/auto-request-review
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-16 22:45:02 -07:00
Takashi Kokubun fb6a9656a1
Do not run CodeQL on dependabot PRs 2022-10-16 22:44:15 -07:00
Nobuyoshi Nakada ba9c0d0b9f
Allow run bundled_gems manually [ci skip] 2022-10-16 18:31:08 +09:00
Takashi Kokubun 7e24ebc649
Disable msystem: MINGW64 job on GitHub Actions (#6545) 2022-10-14 09:16:21 -07:00
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