summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2022-07-01CI: Add conditions for `test_task` on MinGWNobuyoshi Nakada
2022-06-30Use `matrix.arch` separated from `matrix.configure`Nobuyoshi Nakada
Statically determined value should be set statically.
2022-06-23Show flags instead of `-s` option in `GNUMAKEFLAGS`Nobuyoshi Nakada
2022-06-23Pass LDFLAGS via environment variableNobuyoshi Nakada
2022-06-22Refactor compilations workflowNobuyoshi Nakada
Now some entries need multiple variables for customization, and only one environment variable per entry is not enough. To solve it, dccfff943c3e 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`. Notes: Merged: https://github.com/ruby/ruby/pull/6051
2022-06-21[CI] add gcc-12卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/6050
2022-06-21.github/workflows/compilers.yml: annocheck: Fix gaps and notes test.Jun Aruga
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>. Notes: Merged: https://github.com/ruby/ruby/pull/6045
2022-06-20.github/workflows/compilers.yml: Skip gaps test on annocheck 10.76.Jun Aruga
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 ... ``` Notes: Merged: https://github.com/ruby/ruby/pull/6043
2022-06-19Skip CIs if the head commit message contains '[DOC]'Nobuyoshi Nakada
2022-06-07.github/workflows/compilers.yml: annocheck: Fix a linker flag to pass MJIT ↵Jun Aruga
tests. Set the linker flag `-Wl,-z,now` properly. Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> Fixes [Bug #18781] Notes: Merged: https://github.com/ruby/ruby/pull/5938
2022-05-29YJIT: Relax minimum Rust version requirement to 1.58.1Alan Wu
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> Notes: Merged: https://github.com/ruby/ruby/pull/5951 Merged-By: XrXr
2022-05-24remove `-DTHREAD_DEBUG` ruleKoichi Sasada
(but it was already commented out) Notes: Merged: https://github.com/ruby/ruby/pull/5933
2022-05-20Rename test_jit to test_mjitTakashi Kokubun
to avoid confusion with YJIT
2022-05-18Write skipping instead of skiping [ci skip]Kaíque Kandy Koga
https://www.lexico.com/en/definition/skip Notes: Merged: https://github.com/ruby/ruby/pull/5913 Merged-By: nobu <nobu@ruby-lang.org>
2022-05-16Add `make test-annocheck` to detect security issues.Jun Aruga
* 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>. Notes: Merged: https://github.com/ruby/ruby/pull/5900
2022-05-12.github/workflows/compilers.yml: Add configure --enable-mkmf-verbose case.Jun Aruga
Notes: Merged: https://github.com/ruby/ruby/pull/5879
2022-05-02Bump github/codeql-action from 1 to 2dependabot[bot]
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> Notes: Merged: https://github.com/ruby/ruby/pull/5868
2022-04-27Rust YJITAlan Wu
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: https://github.com/Shopify/ruby/commit/1fd9573d8b4b65219f1c2407f30a0a60e537f8be 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> Notes: Merged: https://github.com/ruby/ruby/pull/5826
2022-04-25[CI] Use -O2 on LTO builds as intendedAlan Wu
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`. Notes: Merged: https://github.com/ruby/ruby/pull/5845
2022-04-20[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 Notes: Merged-By: shyouhei <shyouhei@ruby-lang.org>
2022-04-19Github -> GitHubTim Smith
Fix the case of GitHub in various places Signed-off-by: Tim Smith <tsmith@mondoo.com> Notes: Merged: https://github.com/ruby/ruby/pull/5817
2022-04-14Fix build errors with development version of ClangAlan Wu
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. Notes: Merged: https://github.com/ruby/ruby/pull/5799
2022-03-25Disabled cross compile for unknown errors with psych buildHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5693
2022-03-25Added libyaml-dev into BASERUBY checkHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5693
2022-03-24Bump actions/checkout from 2 to 3dependabot[bot]
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> Notes: Merged: https://github.com/ruby/ruby/pull/5704
2022-03-24Bump actions/cache from 2 to 3dependabot[bot]
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> Notes: Merged: https://github.com/ruby/ruby/pull/5705
2022-03-24Added dependabot configuration for actions dependenciesHiroshi SHIBATA
2022-02-20[MSWin] Try VS2022Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5579
2022-02-20[MSWin] Reduce duplicate configurationsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5579
2022-02-13[MSWin] Install OpenSSL with vcpkgNobuyoshi Nakada
2022-02-10LLVM 15 begun.卜部昌平
See also https://github.com/llvm/llvm-project/commit/a2601c98873376bbbeff4b6eddf0f4d920535f8b Notes: Merged: https://github.com/ruby/ruby/pull/5538
2022-02-07[MSWin] Link all vcpkg DLLs except for readlineNobuyoshi Nakada
2022-02-07[MSWin] Install libyaml using vcpkgNobuyoshi Nakada
2022-02-06[MSWin] Install libffi using vcpkgNobuyoshi Nakada
2022-02-06[MSWin] Cache installed vcpkg packagesNobuyoshi Nakada
2022-02-06Fold command line itemsNobuyoshi Nakada
2022-01-20[wasm] skip pull-requests labeled as Documentation [ci skip]Nobuyoshi Nakada
2022-01-19.github/workflows: BASERUBY check for Ruby 3.1卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/5463
2022-01-19[wasm] add ci workflow .github/workflows/wasm.ymlYuta Saito
Notes: Merged: https://github.com/ruby/ruby/pull/5407
2022-01-16Check with the latest stableNobuyoshi Nakada
2022-01-16Separate the tests which fail when load-relative enabledNobuyoshi Nakada
2022-01-16Add continue-on-skipped_tests flagNobuyoshi Nakada
2022-01-16Fix typos for multiple skipped_testsNobuyoshi Nakada
2022-01-15Test enable-load-relativeNobuyoshi Nakada
Now rubygems has the tests depending on it.
2022-01-15[Actions] mingw - use ruby/setup-ruby@v1 againMSP-Greg
Notes: Merged: https://github.com/ruby/ruby/pull/5443
2022-01-15Try previous ruby-setup-rubyNobuyoshi Nakada
The commits between db14f2dde9ceeaa8acbcd31884475a7ce97ae9d3 and 11cc84264a91d42bc873f39d70678e44042322d2 seems breaking OpenSSL::TestConfig#test_s_parse_include.
2022-01-15Show tool versionsNobuyoshi Nakada
2022-01-14Get rid of building main again when test-bundled-gemsNobuyoshi Nakada
2022-01-06Compile with USE_RVARGC=0 on CIPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5399
2021-12-28The `include`d set should be expanded values [ci skip]Nobuyoshi Nakada
While the `matrix` level values are expanded from the production of each arrays, `include`d set should be consist from expanded single values.