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

857 Коммитов

Автор SHA1 Сообщение Дата
Yuta Saito e81a5453e3 ci: Fixup for 301a7b1e
* Remove debugging code
* Fix path to github-pr-info.txt, which is used when labeled before
  build completes
* Add a check to skip the build if the build is completed but the PR is
  not labeled with Playground
2023-12-28 23:53:15 +09:00
卜部昌平 b1f67cf08e CI matrix for 3.3 2023-12-26 17:11:16 +09:00
Yuta Saito 301a7b1e1d ci: Post Playground link to PR
This commit adds a new workflow `pr-playground.yml` that posts a
Wasm-based PR playground link to the PR when it's labeled with
`playground`.
2023-12-26 02:01:02 +09:00
Nobuyoshi Nakada f4d2fe5e0d
Skip AppVeyor and GitHub if only other CI files are changed 2023-12-25 22:47:37 +09:00
Nobuyoshi Nakada 539bef61c4
Run spec_guards only when spec files changed [ci skip] 2023-12-25 22:47:37 +09:00
Nobuyoshi Nakada f730a5a31d Check for C99 features which may not be supported
Continue on error because it is known that this fails right now.
Once fixed, we'll turn it off.
2023-12-25 21:50:12 +09:00
Takashi Kokubun e8064c6c2c Shorten the workflow name
Looking at the name in the list, "Miscellaneous / Miscellaneous checks"
seems too verbose/repetitive. Let's make it "Misc / Miscellaneous checks".
2023-12-17 21:17:19 -08:00
Takashi Kokubun 83194aa27d Make the check_misc job name more descriptive
We're going to add check_misc as a required status check, and "checks"
was a bit too vague for matching the job name.
2023-12-17 21:15:11 -08:00
Takashi Kokubun cfd91121ad Trigger auto-request-review only for master branch 2023-12-14 17:24:08 -08:00
Takashi Kokubun 6e491cae5d
Move --repeat-count=2 job to macos-arm-oss (#9208) 2023-12-12 13:01:09 -08:00
Takashi Kokubun 0366c424e5 Remove a duplicated job
This was first added in b481b673d7, but 197e91f357 added
-DUNIVERSAL_PARSER to the Compilers workflow as well.

Given the nature of this test and the fact that it also runs make
test-all besides make test, I think it's better to keep only the
Compilers one.
2023-12-12 11:45:48 -08:00
Takashi Kokubun 84f45c6ed5 Place continue-on-error consistently
Once it fails on "Perform CodeQL Analysis", it proceeds to subsequent
steps and fails because required files are not created by previous
steps. When we have a continue-on-error, all subsequent steps that rely
on the step should have a continue-on-error as well.
2023-11-24 22:28:39 -08:00
Yuta Saito 3720d4c39a [wasm] Upload install directory as artifact to GitHub Actions 2023-11-23 03:16:20 +09:00
Yuta Saito 7e9f00f34f [wasm] Build baseruby from the same revision for cross-compiling
> Note that on cross compiling BASERUBY should be the same version of the building ruby.
> https://github.com/ruby/ruby/wiki/Developer-How-To#prerequisite
2023-11-23 03:16:20 +09:00
Yuta Saito 55cad1835e [wasm] Update binaryen to version 113 2023-11-23 02:47:11 +09:00
Yuta Saito 29c2c63d6c [wasm] Update wasmtime to version 15 2023-11-23 02:47:11 +09:00
Yuta Saito 3ecedebee1 [wasm] Update wasi-sdk to version 20 2023-11-23 02:47:11 +09:00
Yuta Saito 9aee12cc28 [wasm] Enable more ext libraries on CI as much as possible 2023-11-19 11:52:57 +09:00
MSP-Greg 9ba49c61c2 mingw.yml - remove encoding, run tests in cmd shell 2023-11-17 09:47:20 -05:00
Juanjo Bazán 293aced091 Update checkout 2023-11-10 07:53:26 +09:00
Nobuyoshi Nakada ad3db6711c
Update files under .github other than workflows
While `directory: "/"` is defaulted to ".github/workflows", we need to
update the files under ".github/actions".
2023-11-09 23:27:55 +09:00
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