dependabot[bot]
82f46ddb81
Bump github/codeql-action from 2.2.8 to 2.2.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.2.8 to 2.2.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](67a35a0858...04df1262e6
)
---
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>
2023-03-28 12:41:26 +09:00
dependabot[bot]
fee9044b25
Bump github/codeql-action from 2.2.7 to 2.2.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](168b99b3c2...67a35a0858
)
---
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>
2023-03-23 12:44:07 +09:00
dependabot[bot]
832f810dd7
Bump ruby/setup-ruby from 1.144.1 to 1.144.2
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.144.1 to 1.144.2.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](e6689b4deb...ec02537da5
)
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 12:36:10 +09:00
Nobuyoshi Nakada
80890e681a
Disable `-w` on bundler and bundled gems tests
2023-03-20 12:49:58 +09:00
Nobuyoshi Nakada
c6466691be
Enable `-w` option at test
2023-03-20 11:36:46 +09:00
Takashi Kokubun
d07d1c7162
RJIT: Upgrade Ubuntu on CI
...
to upgrade libcapstone on CI
2023-03-18 22:03:45 -07:00
Takashi Kokubun
4e440d6990
RJIT: Install libcapstone-dev on CI
...
for test_assembler.rb to work
2023-03-18 21:26:09 -07:00
dependabot[bot]
c0866f8adb
Bump actions/cache from 3.2.6 to 3.3.1
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.2.6 to 3.3.1.
- [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/v3.2.6...88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 13:53:39 +09:00
dependabot[bot]
c7ae6f6ae8
Bump actions/checkout from 3.3.0 to 3.4.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.3.0 to 3.4.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/v3.3.0...24cb9080177205b6e8c946b17badbe402adc938f )
---
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-03-17 13:17:30 +09:00
dependabot[bot]
53ebd484c4
Bump ruby/setup-ruby from 1.144.0 to 1.144.1
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.144.0 to 1.144.1.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](9669f3ee51...e6689b4deb
)
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 12:38:33 +09:00
Takashi Kokubun
182f4f0d1c
Fix a bindgen CI failure
2023-03-16 11:05:54 -07:00
Matt Valentine-House
b3a271665b
[Feature #19442 ] Remove USE_RINCGC flag
...
Ruby doesn't compile when this is set to 0. Let's remove it.
2023-03-16 09:32:08 +00:00
dependabot[bot]
a6c447d4c5
Bump github/codeql-action from 2.2.6 to 2.2.7
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.2.6 to 2.2.7.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](16964e90ba...168b99b3c2
)
---
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>
2023-03-16 12:38:21 +09:00
Takashi Kokubun
278b639b77
Disable RJIT_FORCE_ENABLE CI for now
...
Somehow btest-ruby is running miniruby. Not sure why.
https://github.com/ruby/ruby/actions/runs/4412043427/jobs/7731124729#step:16:402
For RJIT's experimental purposes, having just one CI is enough. I'd like
to focus on keeping .github/workflows/rjit.yml green.
2023-03-13 21:49:38 -07:00
dependabot[bot]
1c8e69d602
Bump ruby/action-slack from 3.0.0 to 3.2.1
...
Bumps [ruby/action-slack](https://github.com/ruby/action-slack ) from 3.0.0 to 3.2.1.
- [Release notes](https://github.com/ruby/action-slack/releases )
- [Commits](b6882ea6ef...0bd85c7223
)
---
updated-dependencies:
- dependency-name: ruby/action-slack
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 12:39:51 +09:00
dependabot[bot]
45fdc18053
Bump github/codeql-action from 2.2.5 to 2.2.6
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.2.5 to 2.2.6.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](32dc499307...16964e90ba
)
---
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>
2023-03-13 12:34:43 +09:00
Takashi Kokubun
c9db9c8abd
Revert "Update ruby/action-slack v3.1.1 ( #7505 )"
...
This reverts commit 2570374bc8
.
Revert "Bump ruby/action-slack from 3.0.0 to 3.1.0"
This reverts commit 39511b8b23
.
Neither v3.1.0 nor v3.1.1 seems working correctly.
2023-03-11 23:52:49 -08:00
Takashi Kokubun
d50d136499
Investigate which test hangs on MinGW
...
https://github.com/ruby/ruby/actions/runs/4396158119/jobs/7698424613
2023-03-11 23:51:16 -08:00
Hiroshi SHIBATA
2570374bc8
Update ruby/action-slack v3.1.1 ( #7505 )
2023-03-11 21:00:00 -08:00
Takashi Kokubun
ac47b8df8f
Bump the required BASERUBY version to 2.5 ( #7504 )
...
[Misc #16671 ]
I'd like to bump it to 2.7 to use pattern matching in
tool/mk_builtin_loader.rb.
However, I experienced a few blockers. 2.5 seems like the closest
version that is easy enough to use on CIs, so let me bump the version to
it as an intermediate step for it. I want to use &. and <<~ in 2.3 too.
Known blockers:
* AppVeyor Visual Studio 2015 doesn't have Ruby 2.7. You'd need to bump
the version to Visual Studio 2019.
* GitHub Actions windows-2019 doesn't have Ruby 2.7 either. You
can use ruby/setup-ruby, but configure doesn't seem to work with it.
* For ruby/ruby-ci-imaage, bionic doesn't have Ruby 2.7. I tried using
ruby-build to build Ruby 2.7 from package, but the build on its CI
seems to somehow loop forever when I do that. So I gave it up for now.
We might want to wait until bionic becomes EOL.
Note:
* AppVeyor Visual Studio 2015 has Ruby <= 2.6.3
https://www.appveyor.com/docs/windows-images-software/#ruby
* GitHub Actions windows-2019 uses Ruby 2.5.9
https://github.com/actions/runner-images/blob/main/images/win/Windows2019-Readme.md
2023-03-10 23:40:22 -08:00
dependabot[bot]
dcc8ecdee8
Bump ruby/setup-ruby from 1.143.0 to 1.144.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.143.0 to 1.144.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](31a7f6d628...9669f3ee51
)
---
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-03-10 12:35:23 +09:00
Takashi Kokubun
6d91df08b5
Allow enabling YJIT and RJIT independently ( #7474 )
...
We used to require MJIT is supported when YJIT is supported. However,
now that RJIT dropped some platforms that YJIT supports, it no longer
makes sense. We should be able to enable only YJIT, and vice versa.
2023-03-07 22:43:37 -08:00
dependabot[bot]
39511b8b23
Bump ruby/action-slack from 3.0.0 to 3.1.0
...
Bumps [ruby/action-slack](https://github.com/ruby/action-slack ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/ruby/action-slack/releases )
- [Commits](b6882ea6ef...36bda26f63
)
---
updated-dependencies:
- dependency-name: ruby/action-slack
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 12:35:29 +09:00
Takashi Kokubun
ec05ba7ca3
Give more time to MinGW to run make test
...
10 minutes were not enough.
https://github.com/ruby/ruby/actions/runs/4360048989/jobs/7622532445
2023-03-07 17:51:38 -08:00
Takashi Kokubun
23ec248e48
s/mjit/rjit/
2023-03-06 23:44:01 -08:00
Takashi Kokubun
2e875549a9
s/MJIT/RJIT/
2023-03-06 23:44:01 -08:00
Takashi Kokubun
eaccdc1941
Rename MJIT filenames to RJIT
2023-03-06 23:44:01 -08:00
Takashi Kokubun
09b4236f17
Add a Slack notification for MJIT CI
2023-03-06 21:19:19 -08:00
Takashi Kokubun
d6fde0e6db
Change default call threshold to 30
2023-03-05 23:28:59 -08:00
Takashi Kokubun
ef7f56c734
Resurrect CI for MJIT
2023-03-05 23:28:59 -08:00
Takashi Kokubun
439f8a0f14
Support passing arguments
2023-03-05 22:11:20 -08:00
Takashi Kokubun
760fe0a78a
Disable test-spec as well for annocheck
...
https://github.com/ruby/ruby/actions/runs/4340193212/jobs/7578505652
2023-03-05 21:27:05 -08:00
Takashi Kokubun
5d35b4b0e1
Skip test-all for annocheck
...
It started to fail since totally unrelated changes. It suddenly gets
killed by SIGTERM only on this environment:
https://github.com/ruby/ruby/actions/runs/4340112185/jobs/7578344307
For now, we have no idea how to fix this, so let me skip this until we
figure it out.
2023-03-05 21:12:00 -08:00
Takashi Kokubun
f5b6b3dba7
Split a workflow for annocheck ( #7450 )
...
It's not really about different compilers. It seems confusing to have
this in compilers.yml.
This change only forks the entire workflow and modifies only matrix
entries.
2023-03-05 21:10:31 -08:00
dependabot[bot]
7fcb782e2d
Bump ruby/setup-ruby from 1.139.0 to 1.143.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.139.0 to 1.143.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](92aece5fc9...31a7f6d628
)
---
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-03-06 12:39:18 +09:00
Takashi Kokubun
490efd6732
Increase timeout for MinGW make test
...
Apparently it's too short for MinGW
https://github.com/ruby/ruby/actions/runs/4317938324/jobs/7535630842
2023-03-02 15:05:44 -08:00
Takashi Kokubun
98235834fa
Investigate missing ./autogen.sh
...
https://github.com/ruby/ruby/actions/runs/4316772946/jobs/7532986318
2023-03-02 09:58:06 -08:00
Soutaro Matsumoto
1abec43b5d
Fix rbs ( #7415 )
...
* Update RBS to skip validation task
* Revert TEST_BUNDLED_GEMS_ALLOW_FAILURES
2023-03-02 12:59:04 +09:00
Takashi Kokubun
a80906a714
Allow failing rbs failures for now
...
will wait until soutaro fixes it.
The problem of bundled gems is that you can't really revert it as long
as you have scheduled "update bundled_gems".
2023-03-01 13:07:40 -08:00
Hiroshi SHIBATA
66b89b069d
Also ignore dismissed CodeQL alerts at tests and URI library
2023-02-28 12:44:13 +09:00
dependabot[bot]
c3e57d686a
Bump ruby/setup-ruby from 1.138.0 to 1.139.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.138.0 to 1.139.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](d3c9825d67...92aece5fc9
)
---
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-28 12:35:10 +09:00
Hiroshi SHIBATA
ad679ec9e5
Ignore rb/overly-large-range on URI
2023-02-28 12:05:57 +09:00
Hiroshi SHIBATA
c21260e3ff
Enable only master branch for CodeQL push trigger
2023-02-28 12:05:57 +09:00
Hiroshi SHIBATA
9ff09d695c
Run CodeQL each PRs again
2023-02-28 12:05:57 +09:00
Hiroshi SHIBATA
7a9fb3262c
Do not upload sarif file as artifact
2023-02-28 11:48:19 +09:00
Hiroshi SHIBATA
fbbe285019
Do not OSS scorecards check each push
2023-02-28 11:48:19 +09:00
StepSecurity Bot
2cbe1f3ebc
[StepSecurity] ci: Harden GitHub Actions
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2023-02-27 19:09:36 +09:00
Hiroshi SHIBATA
10a80d9dc4
Ignore test case for Kernel and IO methods
2023-02-27 18:49:18 +09:00
Hiroshi SHIBATA
ae4d8e99f1
Rename job and workflow names
2023-02-27 17:57:58 +09:00
Hiroshi SHIBATA
f21f51915e
Use matrix strategies each language
2023-02-27 17:57:58 +09:00
Hiroshi SHIBATA
b5a1c57c98
Merge codeql-config into codeql-analysis
2023-02-27 17:57:58 +09:00
dependabot[bot]
d686a45cdb
Bump github/codeql-action from 2.2.4 to 2.2.5
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](17573ee1cc...32dc499307
)
---
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>
2023-02-27 12:52:45 +09:00
dependabot[bot]
2798b13e33
Bump actions/cache from 3.2.5 to 3.2.6
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](6998d139dd...69d9d449ac
)
---
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-22 11:56:36 +09:00
dependabot[bot]
a7beb4cfad
Bump lewagon/wait-on-check-action from 1.2.0 to 1.3.1
...
Bumps [lewagon/wait-on-check-action](https://github.com/lewagon/wait-on-check-action ) from 1.2.0 to 1.3.1.
- [Release notes](https://github.com/lewagon/wait-on-check-action/releases )
- [Commits](https://github.com/lewagon/wait-on-check-action/compare/v1.2.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: lewagon/wait-on-check-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-17 12:34:44 +09:00
dependabot[bot]
1df75d6586
Bump actions/cache from 3.2.4 to 3.2.5
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](627f0f41f6...6998d139dd
)
---
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-16 11:40:58 +09:00
dependabot[bot]
0116650525
Bump github/codeql-action from 2.2.1 to 2.2.4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](3ebbd71c74...17573ee1cc
)
---
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>
2023-02-16 11:40:45 +09:00
dependabot[bot]
9aa0f656cb
Bump ruby/setup-ruby from 1.134.0 to 1.138.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.134.0 to 1.138.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](ee26e27437...d3c9825d67
)
---
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-16 11:39:03 +09:00
Hiroshi SHIBATA
7e5df49539
check-regexp only works with job name, not workflow name
2023-02-16 11:00:45 +09:00
Hiroshi SHIBATA
f736f50f38
Auto-merge feature for dependabot PRs ( #7300 )
...
* Automerge for dependabot update
* change update period with daily, we can merge it automatically when `make check` of Ubuntu was passed
* Use rebase instead of merge commit
* check all Ubuntu jobs
2023-02-16 10:16:58 +09:00
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
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
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
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
Nobuyoshi Nakada
6bd86bb2af
Follow the NEWS.md change up [ci skip]
2022-11-26 13:11:24 +09:00
StepSecurity Bot
e15cd01149
[StepSecurity] ci: Harden GitHub Actions
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2022-11-25 20:12:23 +09:00
Takashi Kokubun
607fb49dbc
YJIT: Lower the required Rust version from 1.58.1 to 1.58.0 ( #6780 )
2022-11-21 10:27:39 -08:00
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
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
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
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
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
Kaíque Kandy Koga
aab683af0e
Write skipping instead of skiping [ci skip]
...
https://www.lexico.com/en/definition/skip
2022-05-18 11:28:36 +09:00
Jun Aruga
dccfff943c
Add `make test-annocheck` to detect security issues.
...
* 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 >.
2022-05-16 10:10:16 +02:00
Jun Aruga
7522343351
.github/workflows/compilers.yml: Add configure --enable-mkmf-verbose case.
2022-05-12 12:36:10 +02:00
dependabot[bot]
63932ec33e
Bump github/codeql-action from 1 to 2
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 1 to 2.
- [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/v1...v2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 11:22:26 +09:00
Alan Wu
f90549cd38
Rust YJIT
...
In December 2021, we opened an [issue] to solicit feedback regarding the
porting of the YJIT codebase from C99 to Rust. There were some
reservations, but this project was given the go ahead by Ruby core
developers and Matz. Since then, we have successfully completed the port
of YJIT to Rust.
The new Rust version of YJIT has reached parity with the C version, in
that it passes all the CRuby tests, is able to run all of the YJIT
benchmarks, and performs similarly to the C version (because it works
the same way and largely generates the same machine code). We've even
incorporated some design improvements, such as a more fine-grained
constant invalidation mechanism which we expect will make a big
difference in Ruby on Rails applications.
Because we want to be careful, YJIT is guarded behind a configure
option:
```shell
./configure --enable-yjit # Build YJIT in release mode
./configure --enable-yjit=dev # Build YJIT in dev/debug mode
```
By default, YJIT does not get compiled and cargo/rustc is not required.
If YJIT is built in dev mode, then `cargo` is used to fetch development
dependencies, but when building in release, `cargo` is not required,
only `rustc`. At the moment YJIT requires Rust 1.60.0 or newer.
The YJIT command-line options remain mostly unchanged, and more details
about the build process are documented in `doc/yjit/yjit.md`.
The CI tests have been updated and do not take any more resources than
before.
The development history of the Rust port is available at the following
commit for interested parties:
1fd9573d8b
Our hope is that Rust YJIT will be compiled and included as a part of
system packages and compiled binaries of the Ruby 3.2 release. We do not
anticipate any major problems as Rust is well supported on every
platform which YJIT supports, but to make sure that this process works
smoothly, we would like to reach out to those who take care of building
systems packages before the 3.2 release is shipped and resolve any
issues that may come up.
[issue]: https://bugs.ruby-lang.org/issues/18481
Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
Co-authored-by: Noah Gibbs <the.codefolio.guy@gmail.com>
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
2022-04-27 11:00:22 -04:00
Alan Wu
9c44b5fbc8
[CI] Use -O2 on LTO builds as intended
...
Previously, since the `optflags` environment variable was set to `-O1`
and `optflags` comes after the flags appended as `CC`, we were doing LTO
builds with `-O1`.
2022-04-25 14:29:19 -04:00
卜部昌平
4a4c1d6920
[CI] resort to clang-14 ( #5824 )
...
* [CI] resort to clang-14
Clang 15 + --std=c2x combination seems actively developed now.
Might better wait for them to mature
* also change default compiler
2022-04-20 16:05:37 +09:00
Tim Smith
4299375b9b
Github -> GitHub
...
Fix the case of GitHub in various places
Signed-off-by: Tim Smith <tsmith@mondoo.com>
2022-04-19 08:31:41 +09:00
Alan Wu
307cb57ba6
Fix build errors with development version of Clang
...
Maybe not the best idea for CI stability to use development versions of
Clang, but that does give us a preview of what's coming and gives us a
chance to make suggestions upstream.
2022-04-14 15:47:27 -04:00
Hiroshi SHIBATA
033d979640
Disabled cross compile for unknown errors with psych build
2022-03-25 09:53:07 +09:00
Hiroshi SHIBATA
829754b329
Added libyaml-dev into BASERUBY check
2022-03-25 09:53:07 +09:00
dependabot[bot]
137e69b481
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [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/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 20:39:14 +09:00
dependabot[bot]
9deacb3155
Bump actions/cache from 2 to 3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 20:38:15 +09:00
Nobuyoshi Nakada
32af1a3b5e
[MSWin] Try VS2022
2022-02-20 20:39:48 +09:00
Nobuyoshi Nakada
71388f9d39
[MSWin] Reduce duplicate configurations
2022-02-20 20:39:48 +09:00
Nobuyoshi Nakada
7a8ea2e497
[MSWin] Install OpenSSL with vcpkg
2022-02-13 18:25:59 +09:00
卜部昌平
2cc890d7d3
LLVM 15 begun.
...
See also a2601c9887
2022-02-10 08:24:18 +09:00
Nobuyoshi Nakada
8fe2ce83ef
[MSWin] Link all vcpkg DLLs except for readline
2022-02-07 13:40:48 +09:00
Nobuyoshi Nakada
65ccae5b2a
[MSWin] Install libyaml using vcpkg
2022-02-07 13:40:48 +09:00
Nobuyoshi Nakada
402d76485c
[MSWin] Install libffi using vcpkg
2022-02-06 22:23:55 +09:00
Nobuyoshi Nakada
b9083c206a
[MSWin] Cache installed vcpkg packages
2022-02-06 22:22:58 +09:00
Nobuyoshi Nakada
7ce3a100f2
Fold command line items
2022-02-06 19:22:44 +09:00
Nobuyoshi Nakada
82b0a9004c
[wasm] skip pull-requests labeled as Documentation [ci skip]
2022-01-20 13:18:33 +09:00