summaryrefslogtreecommitdiff
path: root/.github/workflows/ubuntu.yml
AgeCommit message (Collapse)Author
5 days[DOC] Fix the pattern for man pagesNobuyoshi Nakada
7 daysBump actions/checkout from 4.1.4 to 4.1.5dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5. - [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/0ad4b8fadaa221de15dcec353f45205ec38ea70b...44c2b7a8a4ea60a981eaca3cf939b5f4305c123b) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
8 daysBump ruby/setup-ruby from 1.175.1 to 1.176.0dependabot[bot]
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.175.1 to 1.176.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/1198b074305f9356bd56dd4b311757cc0dab2f1c...cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49) --- 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>
2024-04-30Bump ruby/setup-ruby from 1.175.0 to 1.175.1dependabot[bot]
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.175.0 to 1.175.1. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/70da3bbf44ac06db1b0547ce2acc9380a5270d1e...1198b074305f9356bd56dd4b311757cc0dab2f1c) --- 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>
2024-04-24Bump actions/checkout from 4.1.3 to 4.1.4dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4. - [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/1d96c772d19495a3b5c517cd2bc0cb401ea0529f...0ad4b8fadaa221de15dcec353f45205ec38ea70b) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23Bump ruby/setup-ruby from 1.174.0 to 1.175.0dependabot[bot]
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.174.0 to 1.175.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/6bd3d993c602f6b675728ebaecb2b569ff86e99b...70da3bbf44ac06db1b0547ce2acc9380a5270d1e) --- 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>
2024-04-21Bump actions/checkout from 4.1.2 to 4.1.3dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.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/9bb56186c3b09b4f86b1c65136769dd318469633...1d96c772d19495a3b5c517cd2bc0cb401ea0529f) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16Bump ruby/setup-ruby from 1.173.0 to 1.174.0dependabot[bot]
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.173.0 to 1.174.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/5f19ec79cedfadb78ab837f95b87734d0003c899...6bd3d993c602f6b675728ebaecb2b569ff86e99b) --- 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>
2024-04-15Add --with-shared-gc to Ubuntu CIMatt Valentine-House
2024-04-11Launchable: Correctly configure the missing "os" flavor in ubuntu.yamlNaoto Ono
2024-04-08Skip even "Document" onlyNobuyoshi Nakada
2024-03-27d9234ba87b7e48381c8c44ef4a302ef368ee0ee7 is done to fix at related gemsHiroshi SHIBATA
2024-03-21Declare all jobs in matrix.include (#10327)Takashi Kokubun
Declare all jobs using matrix.include
2024-03-21Move old OS versions to `include:` and simplify test matricesNobuyoshi Nakada
2024-03-19Bump ruby/setup-ruby from 1.172.0 to 1.173.0dependabot[bot]
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.172.0 to 1.173.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/d4526a55538b775af234ba4af27118ed6f8f6677...5f19ec79cedfadb78ab837f95b87734d0003c899) --- 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>
2024-03-19Bump actions/checkout from 4.1.1 to 4.1.2dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2. - [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/b4ffde65f46336ab88eb53be808477a3936bae11...9bb56186c3b09b4f86b1c65136769dd318469633) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18Launchable: Remove unused codesNaoto Ono
2024-03-12Do not fail CI when Launchable failsTakashi Kokubun
It seems to randomly fail: ``` + launchable verify Organization: 'ruby' Workspace: 'ruby' Proxy: None Platform: 'macOS-12.7.3-x86_64-i386-64bit' Python version: '3.12.2' Java command: 'java' launchable version: '1.83.0' Authentication failed. Please set the LAUNCHABLE_TOKEN. If you intend to use tokenless authentication, kindly reach out to our support team for further assistance. ``` https://github.com/ruby/ruby/actions/runs/8253299142/job/22574800261 Such failures should not impact the CI result.
2024-03-11Skip documentation changesNobuyoshi Nakada
Many contributors just include the word `documentation` in titles, but not utilize `[DOC]` tag or `Documentation` label.
2024-03-11Clean up the build directory if `clean` is set to trueNobuyoshi Nakada
2024-03-10Report to Launchable at post-runNobuyoshi Nakada
Instead of separate two actions, register the post run at setup. Co-authored-by: Naoto Ono <onoto1998@gmail.com>
2024-03-08Try to run CI with Ubuntu 22.04Hiroshi SHIBATA
2024-03-08Setup ruby before setup directoriesNobuyoshi Nakada
When `makeup: true`, setup/directories also prepare auto generated source files, and requires baseruby.
2024-02-29Resolve a warning in `launchable record build` commandNaoto Ono
2024-02-26Expand Launchable into ubuntu workflowNaoto Ono
2024-02-22CI: Refactor a logic for skipped tests.Jun Aruga
* Make the make's TESTS argument update easily by updating TESTS env with added steps. * Use the `$(...)` rather than backquotes. See <https://www.shellcheck.net/wiki/SC2006>. * Use double-quotes for the make's argument `TESTS="$(...)"` to support space-separated skipped tests such as `skipped_tests: 'TestGem#test_.* TestMkmf.*'`. * Replace the `matrix.skipped_tests != ''` with `matrix.skipped_tests`. I think that these expressions are equivalent. See <https://docs.github.com/en/actions/learn-github-actions/expressions#functions> for details. > Type - Result > Null - ''
2024-02-21Bump ruby/setup-ruby from 1.171.0 to 1.172.0dependabot[bot]
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.171.0 to 1.172.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/22fdc77bf4148f810455b226c90fb81b5cbc00a7...d4526a55538b775af234ba4af27118ed6f8f6677) --- 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>
2024-02-16CI: Fix the no such file or directory error with the working directory.Jun Aruga
Fix the error with the working directory in the result job in some GitHub Actions YAML files. I hit this error on my forked repository below. https://github.com/junaruga/ruby/actions/runs/7921897724/job/21628462038?pr=2#step:2:11 ``` Error: An error occurred trying to start process '/bin/bash' with working directory '/Users/runner/work/ruby/ruby/build'. No such file or directory ```
2024-02-15Bump the required BASERUBY version to 3.0 (#9976)Takashi Kokubun
2024-02-15Temporarily allow failures in some bundled gemsYusuke Endoh
2024-02-09Remove unavailable filters for merge_group eventKazuhiro NISHIYAMA
actionlint says: - "branches" filter is not available for merge_group event. it is only for push, pull_request, pull_request_target, workflow_run events [events] - "paths" filter is not available for merge_group event. it is only for push, pull_request, pull_request_target events [events] - "paths-ignore" filter is not available for merge_group event. it is only for push, pull_request, pull_request_target events [events]
2024-01-26Bundle rbs-3.4.3 (#9702)Soutaro Matsumoto
* Bundle rbs-3.4.3 * Remove rbs from `TEST_BUNDLED_GEMS_ALLOW_FAILURES` list * Add the failing tests to `rbs_skip_tests`
2024-01-24Do not use ruby2_keywords for ... argument forwardingJeremy Evans
This allows ... argument forwarding to benefit from Allocationless Anonymous Splat Forwarding, allowing the `f` call below to not allocate an array or a hash. ```ruby a = [1] kw = {b: 2} def c(a, b:) end def f(...) c(...) end f(*a, **kw) ``` This temporarily skips prism locals tests until prism is changed to use * and ** for ..., instead of using ruby2_keywords. Ignore failures in rbs bundled gems tests, since they fail due to this change.
2024-01-24Add pushtoarray VM instructionJeremy Evans
This instruction is similar to concattoarray, but it takes the number of arguments to push to the array, removes that number of arguments from the stack, and adds them to the array now at the top of the stack. This allows `f(*a, 1)` to allocate only a single array on the caller side (which can be reused on the callee side in the case of `def f(*a)`). Prior to this commit, `f(*a, 1)` would generate 3 arrays: * a dupped by splatarray true * 1 wrapped in array by newarray * a dupped again by concatarray Instructions Before for `a = []; f(*a, 1)`: ``` 0000 newarray 0 ( 1)[Li] 0002 setlocal_WC_0 a@0 0004 putself 0005 getlocal_WC_0 a@0 0007 splatarray true 0009 putobject_INT2FIX_1_ 0010 newarray 1 0012 concatarray 0013 opt_send_without_block <calldata!mid:f, argc:1, ARGS_SPLAT|FCALL> 0015 leave ``` Instructions After for `a = []; f(*a, 1)`: ``` 0000 newarray 0 ( 1)[Li] 0002 setlocal_WC_0 a@0 0004 putself 0005 getlocal_WC_0 a@0 0007 splatarray true 0009 putobject_INT2FIX_1_ 0010 pushtoarray 1 0012 opt_send_without_block <calldata!mid:f, argc:1, ARGS_SPLAT|ARGS_SPLAT_MUT|FCALL> 0014 leave ``` With these changes, method calls to Ruby methods should implicitly allocate at most one array. Ignore typeprof bundled gem failure due to unrecognized instruction.
2023-12-25Skip AppVeyor and GitHub if only other CI files are changedNobuyoshi Nakada
2023-12-12Move --repeat-count=2 job to macos-arm-oss (#9208)Takashi Kokubun
2023-12-12Remove a duplicated jobTakashi Kokubun
This was first added in b481b673d75, 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-10-31Add a --disable-yjit job for Ubuntu CIJeremy Evans
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-17Bump actions/checkout from 4.1.0 to 4.1.1dependabot[bot]
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](https://github.com/actions/checkout/compare/8ade135a41bc03ea155e62e844d188df1ea18608...b4ffde65f46336ab88eb53be808477a3936bae11) --- 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-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-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-11Fix the way to specify extra jobsTakashi Kokubun
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-21Slack notification cannot send from other than ruby/* [ci skip]Nobuyoshi Nakada
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>