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

589 Коммитов

Автор SHA1 Сообщение Дата
Alan Wu e50f102489 CI: Pass -O2 for annocheck
Because `optflags` is pasted into the invocation line after `CC`, we were
building with -O1 unintentionally. You can see this in the configuration
summary: https://github.com/ruby/ruby/actions/runs/3933391169/jobs/6727044423#step:9:753

The check actually fails with -O2. To make it pass, upstream suggest
that we use the annocheck GCC plugin. Since it requires building from
source as the debian package for it isn't ready yet, punt on it for now
and use `--skip-gaps`.

Co-authored-by: Jun Aruga <jaruga@redhat.com>
2023-02-03 13:26:45 -05:00
dependabot[bot] 941783461f Bump ruby/setup-ruby from 1.133.0 to 1.134.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.133.0 to 1.134.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](09c10210cc...ee26e27437)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 16:25:22 +09:00
dependabot[bot] 4f4038e634 Bump actions/cache from 3.2.2 to 3.2.4
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.2 to 3.2.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](4723a57e26...627f0f41f6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 16:24:49 +09:00
dependabot[bot] eb8f284cf2 Bump github/codeql-action from 2.1.37 to 2.2.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.37 to 2.2.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](959cbb7472...3ebbd71c74)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 13:56:43 +09:00
dependabot[bot] ea572708d6 Bump actions/upload-artifact from 3.1.1 to 3.1.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](83fd05a356...0b7f8abb15)

---
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>
2023-02-01 13:56:29 +09:00
dependabot[bot] 41e84c7b09 Bump actions/checkout from 3.2.0 to 3.3.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](755da8c3cf...ac59398561)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-01 13:56:14 +09:00
Takashi Kokubun 74e52c2a17
Disable broken last_files_match_only for now 2023-01-31 09:15:05 -08:00
Takashi Kokubun 2181a66374
Test VM_CHECK_MODE on GitHub Actions (#7204)
It's disabled in compilers.yml, but it's nice to test CHECK_CANAY
on GitHub Actions as well.
2023-01-31 06:48:24 -08:00
Takashi Kokubun 337189598a
Fix a broken matrix (#7207)
$arch and $configure seem to be just ignored in #7205.
2023-01-30 23:39:33 -08:00
Takashi Kokubun 6d1077974f
Use matrix.entry for the Ubuntu workflow (#7205)
This seems easier to understand.

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2023-01-30 22:44:24 -08:00
Takashi Kokubun 4cf1d9b3b3
YJIT: Set RUST_BACKTRACE=1 on YJIT GitHub Actions (#7152) 2023-01-18 17:23:11 -08:00
Nobuyoshi Nakada 3ecffae8e8
[DOC] Extract tool/update-NEWS-gemlist.rb 2023-01-13 20:34:08 +09:00
Ian Ker-Seymer 8d3ff66389
Enable `clippy` checks for yjit in CI (#7093)
* Add job to check clippy lints in CI

* Address all remaining clippy lints

* Check lints on arm64 as well

* Apply latest clippy lints

* Do not exit 0 on clippy warnings
2023-01-12 10:14:17 -05:00
卜部昌平 617b3f697d enhance build matrix 2023-01-12 10:15:58 +09:00
Nobuyoshi Nakada cc15963aa3
Strip trailing spaces [ci skip] 2023-01-12 09:29:56 +09:00
Nobuyoshi Nakada 8f6a9ad35d
Remove no longer used environment variable [ci skip] 2023-01-09 00:02:29 +09:00
Nobuyoshi Nakada cd7e14da4e Pass options for extensions via `CONFIGURE_ARGS` 2023-01-06 20:00:53 +09:00
Takashi Kokubun 1fb0255962
Skip reviews for cruby_bindings-only PRs [ci skip] (#7004) 2023-01-05 13:18:03 -05:00
Hiroshi SHIBATA d57148e9e2 Pin octokit/request-action@v2.1.7 2023-01-04 12:56:46 +09:00
dependabot[bot] b8673f8b5b Bump ruby/setup-ruby from 1.128.0 to 1.133.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.128.0 to 1.133.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](4b2d1d631e...09c10210cc)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 10:02:17 +09:00
dependabot[bot] 1f9b6bfa93 Bump actions/cache from 3.2.0 to 3.2.2
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.0 to 3.2.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](c17f4bf466...4723a57e26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 12:03:00 -05:00
Takashi Kokubun b9332ac8e7
MJIT: Cancel all on disastrous situations (#7019)
I noticed this while running test_yjit with --mjit-call-threshold=1, 
which redefines `Integer#<`. When Ruby is monkey-patched, 
MJIT itself could be broken.

Similarly, Ruby scripts could break MJIT in many different ways. I
prepared the same set of hooks as YJIT so that we could possibly
override it and disable it on those moments. Every constant under
RubyVM::MJIT is private and thus it's an unsupported behavior though.
2022-12-24 01:13:40 -08:00
Nobuyoshi Nakada 540b67da4d test-syntax-suggest is run by check now 2022-12-23 20:33:27 +09:00
dependabot[bot] 4d05a96d14 Bump actions/checkout from 3.1.0 to 3.2.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](93ea575cb5...755da8c3cf)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 12:54:36 +09:00
dependabot[bot] cc35d3ccb7 Bump actions/cache from 3.0.11 to 3.2.0
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.11 to 3.2.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](9b0c1fce7a...c17f4bf466)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 11:47:20 +09:00
dependabot[bot] def8ad4072 Bump octokit/request-action
Bumps [octokit/request-action](https://github.com/octokit/request-action) from 52ce92ce3185e00e2425f043c3e9509121929aea to 8cd8f5d6738d122de9213dc5cf87e116c40f5fae.
- [Release notes](https://github.com/octokit/request-action/releases)
- [Commits](52ce92ce31...8cd8f5d673)

---
updated-dependencies:
- dependency-name: octokit/request-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 10:21:36 +09:00
dependabot[bot] 9c4472935b Bump github/codeql-action from 2.1.35 to 2.1.37
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.35 to 2.1.37.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b2a92eb56d...959cbb7472)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 10:13:17 +09:00
dependabot[bot] 2fb6b39142 Bump ruby/setup-ruby from 1.126.0 to 1.128.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.126.0 to 1.128.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](c7079efafd...4b2d1d631e)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 10:00:14 +09:00
Takashi Kokubun fe2bcd3528 Check `added` for the second sub! properly
Even if the first sub! modifies `news`, when `added` is empty, it always
ended up skipping `File.write("NEWS.md", news)` because of the `next`.
This commit fixes the problem.
2022-12-22 16:35:07 -08:00
dependabot[bot] 31b29aad27 Bump ossf/scorecard-action from 2.0.6 to 2.1.2
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.6 to 2.1.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](99c53751e0...e38b1902ae)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 09:32:22 +09:00
dependabot[bot] 6ae4fe2ba6
Bump necojackarc/auto-request-review from 0.8.0 to 0.10.0 (#7002)
Bumps [necojackarc/auto-request-review](https://github.com/necojackarc/auto-request-review) from 0.8.0 to 0.10.0.
- [Release notes](https://github.com/necojackarc/auto-request-review/releases)
- [Commits](b5e8187645...5f91f424ca)

---
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-12-22 15:23:14 -08:00
Nobuyoshi Nakada 90c8f7ca6b
Ignore man directories entirely [ci skip] 2022-12-20 17:53:45 +09:00
Takashi Kokubun 8b0e44214c
Fix missing variables
It was a bad copy-paste.
2022-12-15 10:45:41 -08:00
Takashi Kokubun e25beac145
Enable Slack notifications on more Actions
auto_request_review, codeql-analysis, scorecards don't have it either,
but those are intentional.
2022-12-15 10:43:21 -08:00
Alan Wu 47a5b34aba YJIT: Fold check-yjit-bindings into yjit-bindgen
So it's shorter on CI and the hint about how the fix the failure shows
up. It's going to print a diff locally too, but that should be fine.
2022-12-08 15:58:00 -05:00
Alan Wu 2ae26554de YJIT: Add a hint for fixing "check-yjit-bindings"
This makes it clear what to do when the CI check
fails and should remove a few minutes of confusion
for people seeing this for the first time.
2022-12-08 15:58:00 -05:00
Nobuyoshi Nakada c43203fd09
NEWS.md: Remove white space only lines [ci skip] 2022-12-07 19:19:26 +09:00
dependabot[bot] 8c62b36041 Bump octokit/request-action
Bumps [octokit/request-action](https://github.com/octokit/request-action) from 4579f9e1e690974421f9f6928a30fb448e967c60 to 52ce92ce3185e00e2425f043c3e9509121929aea.
- [Release notes](https://github.com/octokit/request-action/releases)
- [Commits](4579f9e1e6...52ce92ce31)

---
updated-dependencies:
- dependency-name: octokit/request-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 13:50:14 +09:00
Takashi Kokubun b78fbfdbb4
Skip auto-request-review on fork repositories 2022-12-05 15:03:58 -08:00
Takashi Kokubun 4d39a11cd1 Change the dependabot interval to monthly
It's not that important for ruby/ruby to keep them up to date.
2022-12-04 21:04:50 -08:00
dependabot[bot] d110bf9c97 Bump ruby/setup-ruby from 1.125.0 to 1.126.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.125.0 to 1.126.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](de6f5b9c34...c7079efafd)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 14:03:55 +09:00
dependabot[bot] c880625fe1 Bump github/codeql-action from 2.1.33 to 2.1.35
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.33 to 2.1.35.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2.1.33...b2a92eb56d8cb930006a1c6ed86b0782dd8a4297)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 14:03:37 +09:00
Maxime Chevalier-Boisvert e9e624b76e
YJIT: check that we correctly auto-enable YJIT on Linux (#6854)
* YJIT: check that we correctly auto-enable YJIT on Linux

YJIT should be automatically built on Linux x86-64 when
rustc is present, and we should see +YJIT in the version string.

* Use miniruby rather than system ruby
2022-12-02 15:33:47 -05:00
Nobuyoshi Nakada eb6785356d Avoid bash specific variable substitution
It may cause parse errors in some other sh even in never executed
parts.
2022-12-02 23:45:43 +09:00
Nobuyoshi Nakada 817193104d
Enable to dispatch Code scanning [ci skip] 2022-11-30 20:03:54 +09:00
Hiroshi SHIBATA 8bac8772df Added permission restrictions for GitHub actions 2022-11-28 18:28:31 +09:00
StepSecurity Bot 595f3063f0 [StepSecurity] ci: Harden GitHub Actions
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2022-11-28 11:42:40 +09:00
Takashi Kokubun f93ae96b0e Disable test-all on MJIT CI for now
https://github.com/ruby/ruby/actions/runs/3560006749/jobs/5979749144
2022-11-27 13:34:10 -08:00
Takashi Kokubun 62476dd268 Test only --mjit-wait for now
We've disabled MJIT CI on GitHub Actions for a while. It's convenient
that fork repositories need to see failures or disable it.

We should remove unused CI by default instead of silently disabling it.
Since I saw --mjit-wait passed on my fork, I'd like to try running
--mjit-wait one.
2022-11-27 13:12:34 -08:00
Takashi Kokubun 7cf94a611f Allow an arbitrary number of newlines 2022-11-25 21:36:40 -08:00