summaryrefslogtreecommitdiff
path: root/.github/workflows
AgeCommit message (Collapse)Author
2023-10-16Remove YJIT --repeat-count=2 job (#8669)Takashi Kokubun
2023-10-16Wait on ubuntu [ci skip]Nobuyoshi Nakada
macos-arm-oss is unavailable for forked reopsitories other than ruby/ruby.
2023-10-16Give needed tools via the environment variable [ci skip]Nobuyoshi Nakada
2023-10-16Check if any tools needed [ci skip]Nobuyoshi Nakada
Because of a trap of cmd.exe that `echo something > output` prints not only "something" also the space before `>`, remove unexpected spaces.
2023-10-14Revert an unneeded if on check_miscTakashi Kokubun
nobu says he wants to run this on [DOC] commits as well.
2023-10-14Use the same if: guard for all jobsTakashi Kokubun
2023-10-14Use unique names for result jobsTakashi Kokubun
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-14Add result job for required status checksTakashi Kokubun
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-14The needs != '' check is brokenTakashi Kokubun
2023-10-15Fix typo in steps references [ci skip]Nobuyoshi Nakada
2023-10-13Avoid using MATZBOT_GITHUB_TOKEN for pull requestsTakashi Kokubun
2023-10-13Skip a duplicated checkoutTakashi Kokubun
2023-10-13Just reorder the checkoutTakashi Kokubun
2023-10-13secrets cannot be templated in a shared actionTakashi Kokubun
2023-10-13Use matzbot's token to push misc commitsTakashi Kokubun
to bypass status checks of branch protection
2023-10-13Ignore the failures of CodeQLTakashi Kokubun
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-13Only ruby/ruby repository runs on macos-arm-oss [ci skip]Nobuyoshi Nakada
2023-10-13Remove paths-ignore from required status checks (#8646)Takashi Kokubun
2023-10-12Avoid duplicating a --repeat-count=2 jobTakashi Kokubun
--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-12Test YJIT on macOS Arm64 GitHub Actions (#8633)Takashi Kokubun
* cp macos.yml yjit-macos.yml * Test YJIT on macOS Arm64 GitHub Actions * Add a non-YJIT macOS Arm64 job as well
2023-10-12Bump ruby/setup-ruby from 1.155.0 to 1.156.0dependabot[bot]
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](https://github.com/ruby/setup-ruby/compare/d37167af451eb51448db3354e1057b75c4b268f7...5cfe23c062c0aac352e765b1b7cc12ea5255ccc4) --- 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-11Specify everything in matrix.includeTakashi Kokubun
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-11Add test_task in the matrix for better labelsTakashi Kokubun
They appear on GitHub and this looks nicer.
2023-10-11Fix the way to specify extra jobsTakashi Kokubun
2023-10-11Remove redundancy in macOS jobsTakashi Kokubun
I don't think we need to test the same OS twice or the same configuration twice. This is similar to .github/workflows/ubuntu.yml. I also tweaked the label of Slack notifications.
2023-10-09Bump ruby/setup-ruby from 1.154.0 to 1.155.0dependabot[bot]
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.154.0 to 1.155.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/52b8784594ec115fd17094752708121dc5dabb47...d37167af451eb51448db3354e1057b75c4b268f7) --- 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-09Bump ossf/scorecard-action from 2.2.0 to 2.3.0dependabot[bot]
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.2.0 to 2.3.0. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](https://github.com/ossf/scorecard-action/compare/08b4669551908b1024bb425080c797723083c031...483ef80eb98fb506c348f7d62e28055e49fe2398) --- 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>
2023-10-03Create dummy files in build dir in setup [ci skip]Nobuyoshi Nakada
2023-09-28[CI] Fix conditional for `RUBYOPT`Nobuyoshi Nakada
Since GitHub has no real ternary [operator], the second expression must be "truthy" value instead of an empty string which is evaluated as `0`. - Some bundler tests seem trying to install old Rack where `Rack::Utils.byte_ranges` method has been deprecated once. - Racc tests do not seem aware about warnings very well. [operator]: https://docs.github.com/actions/learn-github-actions/expressions#operators
2023-09-28[CI] Fix indentation to concatenate the lines and pass the optionsNobuyoshi Nakada
2023-09-25Bump actions/checkout from 4.0.0 to 4.1.0dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.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/3df4ab11eba7bda6032a0b82a6bb43b11571feac...8ade135a41bc03ea155e62e844d188df1ea18608) --- 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-09-23Ignore rbs test failuresTakashi Kokubun
For some reason, it's been failing only on YJIT, but apparently it's reproducible on the interpreter as well. So it's not related to YJIT. rbs marked rbs tests on Ruby master as allow_failures https://github.com/ruby/rbs/pull/1536, so it's known to not work on Ruby master. We should revert this once we fix the flaky test failure on Ruby master.
2023-09-21Slack notification cannot send from other than ruby/* [ci skip]Nobuyoshi Nakada
2023-09-20--disable-jit-support no longer existsTakashi Kokubun
2023-09-20Bump ruby/setup-ruby from 1.153.0 to 1.154.0dependabot[bot]
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.153.0 to 1.154.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/5311f05890856149502132d25c4a24985a00d426...52b8784594ec115fd17094752708121dc5dabb47) --- 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-09-15Bump actions/checkout from 3.6.0 to 4.0.0dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.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/f43a0e5ff2bd294095638e18286ca9a3d1956744...3df4ab11eba7bda6032a0b82a6bb43b11571feac) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15Bump ruby/setup-ruby from 1.152.0 to 1.153.0dependabot[bot]
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.152.0 to 1.153.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/250fcd6a742febb1123a77a841497ccaa8b9e939...5311f05890856149502132d25c4a24985a00d426) --- 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> Notes: Merged: https://github.com/ruby/ruby/pull/8447
2023-09-14Skip renaming OpenSSL DLLsTakashi Kokubun
to fix CI failures like: https://github.com/ruby/ruby/actions/runs/6190995187/job/16808382442
2023-09-13For YJIT Actions, don't filter test-spec backtracesAlan Wu
I'm trying to debug a flaky `RuntimeError: nested #it` failure in ruby/spec. Hopefully the full backtrace will give some clues. Last occurence: https://github.com/ruby/ruby/actions/runs/6172578817/job/16753137038 Notes: Merged: https://github.com/ruby/ruby/pull/8436
2023-09-08Bump actions/cache from 3.3.1 to 3.3.2dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.1 to 3.3.2. - [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/88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8...704facf57e6136b1bc63b828d79edcd491f0ee84) --- 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-08-31CodeQL: Increase memory size [ci skip]Nobuyoshi Nakada
Query evaluation ran out of Java heap frequently since CodeQL 2.14.3. Notes: Merged: https://github.com/ruby/ruby/pull/8337
2023-08-30Stop using -v for rjit test-allTakashi Kokubun
It outputs way too many lines. It's hard to download the output from GitHub Actions.
2023-08-25build matrix for universal parser卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/8274
2023-08-25workaround clang-17 -Wc2x-extensions卜部昌平
cf: https://github.com/llvm/llvm-project/commit/874217f99b99ab3c9026dc3b7bd84cd2beebde6e Notes: Merged: https://github.com/ruby/ruby/pull/8274
2023-08-25direct use of CFLAGS卜部昌平
Autoconf 2.71's `AC_PROG_CC` nukes `CC` variable, which we don't want. For instance a user could specify `--with-gcc="gcc -std=c99"` to _force_ C99 mode; but `AC_PROG_CC` just nulifies that `-std=c99` part. `AC_PROG_CC` is called everywhere from inside of autoconf itself via `AC_REQUIRE([AC_PROG_CC])`. It is not a wise idea to try avoiding this macro at all. We need to reroute `-std=` flags to somewhere else. Notes: Merged: https://github.com/ruby/ruby/pull/8274
2023-08-25[CI]: LLVM 18 begun卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/8274
2023-08-25Skip push by dependabot [ci skip]Nobuyoshi Nakada
Would be pull-requested soon.
2023-08-25Bump actions/checkout from 3.5.3 to 3.6.0dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.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/c85c95e3d7251135ab7dc9ce3241c5835cc595a9...f43a0e5ff2bd294095638e18286ca9a3d1956744) --- 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-08-24Generate sources before checksNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8276
2023-08-15Revert "[ruby/yarp] rust: Initial yarp-sys"Takashi Kokubun
This reverts commit e6e23b92e3019e27471c9bf7a97db5f95e7a9a29. It seems like it wasn't added for ruby/ruby. We could fix tool/sync_default_gems.rb to deal with this, but we have a pull request that changes that part now, so let me only revert this for now and revisit this after merging that pull request.