aboutsummaryrefslogtreecommitdiffstats
path: root/.github
Commit message (Collapse)AuthorAgeFilesLines
* YJIT: Relax minimum Rust version requirement to 1.58.1Alan Wu2022-05-291-1/+5
| | | | | | | | | | | | | | | | | 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>
* remove `-DTHREAD_DEBUG` ruleKoichi Sasada2022-05-241-1/+0
| | | | (but it was already commented out)
* Rename test_jit to test_mjitTakashi Kokubun2022-05-201-2/+2
| | | | to avoid confusion with YJIT
* Write skipping instead of skiping [ci skip]Kaíque Kandy Koga2022-05-181-1/+1
| | | https://www.lexico.com/en/definition/skip
* Add `make test-annocheck` to detect security issues.Jun Aruga2022-05-161-0/+24
| | | | | | | | | | | | | | * 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>.
* .github/workflows/compilers.yml: Add configure --enable-mkmf-verbose case.Jun Aruga2022-05-121-0/+1
|
* Bump github/codeql-action from 1 to 2dependabot[bot]2022-05-021-3/+3
| | | | | | | | | | | | | | | 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>
* Rust YJITAlan Wu2022-04-273-57/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* [CI] Use -O2 on LTO builds as intendedAlan Wu2022-04-251-5/+5
| | | | | | 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`.
* [CI] resort to clang-14 (#5824)卜部昌平2022-04-201-2/+2
| | | | | | | | * [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
* Github -> GitHubTim Smith2022-04-191-3/+3
| | | | | | Fix the case of GitHub in various places Signed-off-by: Tim Smith <tsmith@mondoo.com>
* Fix build errors with development version of ClangAlan Wu2022-04-141-4/+10
| | | | | | 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.
* Disabled cross compile for unknown errors with psych buildHiroshi SHIBATA2022-03-251-4/+4
|
* Added libyaml-dev into BASERUBY checkHiroshi SHIBATA2022-03-251-1/+1
|
* Bump actions/checkout from 2 to 3dependabot[bot]2022-03-2414-14/+14
| | | | | | | | | | | | | | | 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>
* Bump actions/cache from 2 to 3dependabot[bot]2022-03-2411-14/+14
| | | | | | | | | | | | | | 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>
* Added dependabot configuration for actions dependenciesHiroshi SHIBATA2022-03-241-0/+6
|
* [MSWin] Try VS2022Nobuyoshi Nakada2022-02-201-1/+1
|
* [MSWin] Reduce duplicate configurationsNobuyoshi Nakada2022-02-201-11/+13
|
* [MSWin] Install OpenSSL with vcpkgNobuyoshi Nakada2022-02-131-3/+4
|
* LLVM 15 begun.卜部昌平2022-02-101-2/+3
| | | | See also https://github.com/llvm/llvm-project/commit/a2601c98873376bbbeff4b6eddf0f4d920535f8b
* [MSWin] Link all vcpkg DLLs except for readlineNobuyoshi Nakada2022-02-071-1/+3
|
* [MSWin] Install libyaml using vcpkgNobuyoshi Nakada2022-02-071-2/+4
|
* [MSWin] Install libffi using vcpkgNobuyoshi Nakada2022-02-061-2/+2
|
* [MSWin] Cache installed vcpkg packagesNobuyoshi Nakada2022-02-061-0/+7
|
* Fold command line itemsNobuyoshi Nakada2022-02-061-2/+5
|
* [wasm] skip pull-requests labeled as Documentation [ci skip]Nobuyoshi Nakada2022-01-201-1/+1
|
* .github/workflows: BASERUBY check for Ruby 3.1卜部昌平2022-01-191-1/+2
|
* [wasm] add ci workflow .github/workflows/wasm.ymlYuta Saito2022-01-191-0/+106
|
* Check with the latest stableNobuyoshi Nakada2022-01-161-1/+1
|
* Separate the tests which fail when load-relative enabledNobuyoshi Nakada2022-01-161-0/+2
|
* Add continue-on-skipped_tests flagNobuyoshi Nakada2022-01-161-0/+1
|
* Fix typos for multiple skipped_testsNobuyoshi Nakada2022-01-161-2/+2
|
* Test enable-load-relativeNobuyoshi Nakada2022-01-151-4/+3
| | | | Now rubygems has the tests depending on it.
* [Actions] mingw - use ruby/setup-ruby@v1 againMSP-Greg2022-01-151-1/+3
|
* Try previous ruby-setup-rubyNobuyoshi Nakada2022-01-151-1/+1
| | | | | | The commits between db14f2dde9ceeaa8acbcd31884475a7ce97ae9d3 and 11cc84264a91d42bc873f39d70678e44042322d2 seems breaking OpenSSL::TestConfig#test_s_parse_include.
* Show tool versionsNobuyoshi Nakada2022-01-151-0/+12
|
* Get rid of building main again when test-bundled-gemsNobuyoshi Nakada2022-01-142-0/+2
|
* Compile with USE_RVARGC=0 on CIPeter Zhu2022-01-061-2/+2
|
* The `include`d set should be expanded values [ci skip]Nobuyoshi Nakada2021-12-281-3/+3
| | | | | | While the `matrix` level values are expanded from the production of each arrays, `include`d set should be consist from expanded single values.
* Fix RBS test failures of taint/trust (#5364)Masataka Pocke Kuwabara2021-12-282-2/+2
|
* Fix weird MinGW failure notificationsTakashi Kokubun2021-12-271-1/+1
| | | | | It's been "MinGW / Array", but it will be "MinGW MINGW64 / check" or "MinGW UCRT64 / check" by this.
* USE_RVARGC released; why not CI卜部昌平2021-12-281-0/+2
|
* Ignore failures taint/trust in RBS tentatively [ci skip]Nobuyoshi Nakada2021-12-272-2/+2
|
* NEWS: Empty gem list if no new gemsNobuyoshi Nakada2021-12-262-9/+12
|
* [DOC] Do not push NEWS update to pull-requestNobuyoshi Nakada2021-12-232-2/+2
|
* Separate cache key from primary key [ci skip]Nobuyoshi Nakada2021-12-232-2/+6
|
* Get stdgems JSON files only if modified [ci skip]Nobuyoshi Nakada2021-12-232-4/+7
|
* Make the cache directory [ci skip]Nobuyoshi Nakada2021-12-211-0/+1
|
* [DOC] Skip tests if only NEWS.md changedNobuyoshi Nakada2021-12-201-1/+6
|