Takashi Kokubun
50402db5a7
YJIT: Disable code GC ( #8865 )
...
Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
2023-11-08 10:21:04 -05:00
dependabot[bot]
906f6cfe64
Bump ruby/setup-ruby from 1.159.0 to 1.160.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.159.0 to 1.160.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](54a18e26db...036ef458dd
)
---
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-11-07 18:48:38 -08:00
Takashi Kokubun
14bf7164a6
Revert an unwanted sync from Reline
...
It wasn't supposed to be sync-ed in:
2dd32e7c3b
2023-11-06 09:13:16 -08:00
Stan Lo
2dd32e7c3b
[ruby/reline] Test Reline::Face without mocking
...
(https://github.com/ruby/reline/pull/600 )
* Test Reline::Face without mocking
Because `test-unit-rr` is not a default gem, using it would break CRuby's
CI.
* Add ruby-core workflow
https://github.com/ruby/reline/commit/d2189ac436
2023-11-06 15:53:38 +00:00
Nobuyoshi Nakada
054a4672cb
Check non-ASCII code in more sources including generated files
2023-11-05 02:11:07 +09:00
Jeremy Evans
d22767fd48
Add a --disable-yjit job for Ubuntu CI
...
Currently, we do not have an amd64 job that runs with YJIT disabled
and runs the full check task. Most amd64 jobs implicitly have YJIT
enabled, even though --enable-yjit was not specified. This makes it
easier to determine whether a problem is YJIT-related or not by
reviewing CI logs.
2023-10-31 05:12:07 +00:00
Nobuyoshi Nakada
f082ccf4f8
Fix a typo [ci skip]
2023-10-28 23:49:47 +09:00
Nobuyoshi Nakada
934beac118
Select the destination for the latest date by whether inplace mode
2023-10-27 16:57:21 +09:00
Takashi Kokubun
bba9465934
Let bundled_gems use matzbot's token for git push
2023-10-26 23:17:50 -07:00
dependabot[bot]
f9f0cfe785
Bump ruby/setup-ruby from 1.158.0 to 1.159.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.158.0 to 1.159.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](cd48c8e227...54a18e26db
)
---
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-10-26 20:13:17 -07:00
Kevin Newton
3ed317a441
Remove JavaScript templates
2023-10-26 09:50:40 -04:00
Kevin Newton
feb1427ad8
[ruby/prism] Compile with WASI
...
https://github.com/ruby/prism/commit/73c44b0b9c
2023-10-26 13:33:22 +00:00
Yuta Saito
ad06addbfe
[wasm] Check exts build working on ci
...
This is a preparation for enabling spec test
2023-10-26 12:20:27 +09:00
dependabot[bot]
41ba23ef8d
Bump ruby/setup-ruby from 1.157.0 to 1.158.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.157.0 to 1.158.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](a05e47355e...cd48c8e227
)
---
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-10-25 20:09:47 -07:00
Kazuhiro NISHIYAMA
a6a67b0524
Do not append latest_date to gems/bundled_gems [ci skip]
2023-10-25 13:10:28 +09:00
dependabot[bot]
c44d65427e
Bump ossf/scorecard-action from 2.3.0 to 2.3.1
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](483ef80eb9...0864cf1902
)
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 20:34:33 -07:00
Nobuyoshi Nakada
ccd18d0557
Clean up temporary file, wc.input [ci skip]
2023-10-24 12:30:10 +09:00
Nobuyoshi Nakada
92f29349d5
Use extquote instead of literal tabs [ci skip]
2023-10-24 12:30:09 +09:00
Nobuyoshi Nakada
bf93ceb26b
Set date in message to the latest gem date [ci skip]
2023-10-23 23:13:55 +09:00
Nobuyoshi Nakada
ef5717d923
Use outputs instead of outcome with continue-on-error [ci skip]
...
Suppress exit code annotations.
2023-10-23 23:13:55 +09:00
dependabot[bot]
dd9b4851a3
Bump ruby/setup-ruby from 1.156.0 to 1.157.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.156.0 to 1.157.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](5cfe23c062...a05e47355e
)
---
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-10-22 19:54:46 -07:00
Nobuyoshi Nakada
b93553bb7e
Cirrus CI has been removed [ci skip]
2023-10-19 16:06:32 -07:00
dependabot[bot]
be1608592e
Bump actions/checkout from 4.1.0 to 4.1.1
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](8ade135a41...b4ffde65f4
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 20:24:16 -07:00
Takashi Kokubun
01b5d1d2ff
YJIT: Add a cargo job for Arm64 and remove .cirrus.yml ( #8679 )
...
* YJIT: Add a cargo job for Arm64
* YJIT: Use command names as job names
They look more consistent with jobs that use the command name as a job
name, such as `make (check)`, `make (test-bundled-gems)`, etc.
* Remove .cirrus.yml
2023-10-17 11:27:49 -04:00
Takashi Kokubun
8f33d801c2
Just skip the job if not on ruby/ruby
...
Using the same `runs-os` across all jobs in the same workflow makes it
more likely to pass in case one of these runners is experiencing an
outage.
macos-arm-oss is generally not available outside ruby/ruby, so it's
fair to skip it for forks.
2023-10-16 09:20:21 -07:00
Takashi Kokubun
5b5643ae8b
Remove YJIT --repeat-count=2 job ( #8669 )
2023-10-16 11:12:54 -04:00
Nobuyoshi Nakada
ab5c1230db
Wait on ubuntu [ci skip]
...
macos-arm-oss is unavailable for forked reopsitories other than
ruby/ruby.
2023-10-16 20:53:04 +09:00
Nobuyoshi Nakada
d4ac62f3e9
Give needed tools via the environment variable [ci skip]
2023-10-16 14:27:52 +09:00
Nobuyoshi Nakada
cc5a916fa3
Check if any tools needed [ci skip]
...
Because of a trap of cmd.exe that `echo something > output` prints not
only "something" also the space before `>`, remove unexpected spaces.
2023-10-16 14:27:51 +09:00
Takashi Kokubun
985b0244da
Revert an unneeded if on check_misc
...
nobu says he wants to run this on [DOC] commits as well.
2023-10-14 23:27:05 -07:00
Takashi Kokubun
ddd5be9efa
Use the same if: guard for all jobs
2023-10-14 22:33:40 -07:00
Takashi Kokubun
341d2ad95c
Use unique names for result jobs
...
If these jobs have the same name, GitHub allows merging a pull request
as soon as one of these jobs finishes.
We want to wait for all these jobs, so we have to use different names.
Since we don't skip this result job on [DOC], it's okay to use a
templated variable for this name.
2023-10-14 22:24:24 -07:00
Takashi Kokubun
222c4b8568
Add result job for required status checks
...
We've been using matrix jobs as required status checks. However, when
[DOC] pull requests are created, the matrix content and templated
variables are not executed, which results in changing the name of the
matrix jobs. Then required status checks are considered missing because
of the different names. So we can't merge [DOC] PRs right now.
This `result` is a known technique to check the composite status of
matrix jobs. https://github.com/orgs/community/discussions/26822
The `result` job is not only a non-matrix job, which doesn't have the
above problem, but also an independent job that is not skipped by [DOC].
`needs` works even if all dependent jobs are skipped, so this trick
works well.
This is also useful when we want to change the content of matrix. When
we change one, we usually have to update branches of old pull requests
so that they get newly required jobs. However, with this method, only
`result` jobs are required, so you don't need to update old pull
requests.
I still don't like the fact that now you cannot visualize which matrix
jobs are "Required", but this seems like the best compromise.
2023-10-14 22:24:24 -07:00
Takashi Kokubun
28bd3a96b9
The needs != '' check is broken
2023-10-14 22:06:42 -07:00
Nobuyoshi Nakada
259747e1e6
Fix typo in steps references [ci skip]
2023-10-15 13:53:20 +09:00
Takashi Kokubun
16d14f425f
Avoid using MATZBOT_GITHUB_TOKEN for pull requests
2023-10-13 20:53:23 -07:00
Takashi Kokubun
82c8f22a36
Use the variable to skip the checkout
2023-10-13 16:33:07 -07:00
Takashi Kokubun
9d6ff9c175
Skip a duplicated checkout
2023-10-13 16:31:07 -07:00
Takashi Kokubun
d7f8c1ee9d
Just reorder the checkout
2023-10-13 16:19:32 -07:00
Takashi Kokubun
0950f22cc0
secrets cannot be templated in a shared action
2023-10-13 16:18:17 -07:00
Takashi Kokubun
563ba5a6f1
Give a token to the shared checkout as well
2023-10-13 16:14:02 -07:00
Takashi Kokubun
5b08e9efd8
Use matzbot's token to push misc commits
...
to bypass status checks of branch protection
2023-10-13 15:21:54 -07:00
Takashi Kokubun
92bdc3757f
Ignore the failures of CodeQL
...
It randomly fails like this:
https://github.com/ruby/ruby/actions/runs/6510372995/job/17683918027
and we don't want to pay for and use a larger runner for the job that
only generates false positives most of the time.
2023-10-13 09:40:44 -07:00
Nobuyoshi Nakada
511571b5ff
Only ruby/ruby repository runs on macos-arm-oss [ci skip]
2023-10-13 23:21:33 +09:00
Takashi Kokubun
842d9c0afc
Remove paths-ignore from required status checks ( #8646 )
2023-10-13 00:30:04 +00:00
Takashi Kokubun
dcee3cc6ce
Avoid duplicating a --repeat-count=2 job
...
--repeat-count=2 jobs are generally too slow for no good reason.
It doesn't seem related to testing the universal parser either.
2023-10-12 15:15:37 -07:00
Takashi Kokubun
0c42c28531
Test YJIT on macOS Arm64 GitHub Actions ( #8633 )
...
* cp macos.yml yjit-macos.yml
* Test YJIT on macOS Arm64 GitHub Actions
* Add a non-YJIT macOS Arm64 job as well
2023-10-12 10:03:47 -04:00
dependabot[bot]
096ee0648e
Bump ruby/setup-ruby from 1.155.0 to 1.156.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.155.0 to 1.156.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](d37167af45...5cfe23c062
)
---
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-10-12 12:31:02 +09:00
Takashi Kokubun
70d583a7e0
Specify everything in matrix.include
...
ubuntu.yml had that style because it needed a default value for configure.
For macos.yml, since `os` and `configure` always vary, there's no need
to declare them that way.
2023-10-11 16:05:16 -07:00
Takashi Kokubun
eee1ea2a0e
Add test_task in the matrix for better labels
...
They appear on GitHub and this looks nicer.
2023-10-11 15:56:17 -07:00