summaryrefslogtreecommitdiff
path: root/.github/workflows/compilers.yml
AgeCommit message (Collapse)Author
2022-08-22Ignore `.document` only commits [ci skip]Nobuyoshi Nakada
2022-08-11Add `--enable-devel` configure optionNobuyoshi Nakada
Since `RUBY_DEVEL` in cppflags has no effect in the configure script and makefiles. Notes: Merged: https://github.com/ruby/ruby/pull/6230
2022-08-09Do not enable RUBY_DEVEL by RUBY_PATCHLEVELJeremy Evans
This makes RUBY_DEVEL not enabled automatically. It still can be enabled manually. Test manually using RUBY_DEVEL in CI. Implements [Feature #17468] Notes: Merged: https://github.com/ruby/ruby/pull/4993
2022-07-25Bundled gems test needs `prepare-gems`Nobuyoshi Nakada
`prepare-gems` downloads and extracts the bundled gems, and these gems are built by `build-exts` now. Notes: Merged: https://github.com/ruby/ruby/pull/6175
2022-07-03Disable USE_DEBUG_COUNTER test for now [ci skip]Nobuyoshi Nakada
2022-07-03Add check for USE_DEBUG_COUNTERNobuyoshi Nakada
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-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-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-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-02-10LLVM 15 begun.卜部昌平
See also https://github.com/llvm/llvm-project/commit/a2601c98873376bbbeff4b6eddf0f4d920535f8b Notes: Merged: https://github.com/ruby/ruby/pull/5538
2022-01-06Compile with USE_RVARGC=0 on CIPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/5399
2021-12-28USE_RVARGC released; why not CI卜部昌平
2021-12-18Skip tests on pull requests labeled as DocumentationNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5293
2021-12-16[DOC] Skip tests if only documents change [ci skip]Nobuyoshi Nakada
Run only checks for source code. Currently, our CIs do almost nothing about the documents.
2021-12-02Cache downloaded filesNobuyoshi Nakada
Cache downloaded external libraries/gems, which are expected not changed so frequently. Also sometimes downloading from zlib returns the current time as the date header in unexpected format, and checksums mismatch at that time. Notes: Merged: https://github.com/ruby/ruby/pull/5201 Merged-By: nobu <nobu@ruby-lang.org>
2021-11-21Throttle pull-requests only [ci skip]Nobuyoshi Nakada
2021-11-18Throttle GitHub Actions [ci skip]Nobuyoshi Nakada
As GitHub Actions are choking a lot lately, throttle the checks down to the latest commit only per branches.
2021-10-29Skip tests if only document files changedNobuyoshi Nakada
2021-10-26.github: use GNUMAKEFLAGS instead of JOBS卜部昌平
A bit readable to me. See also https://github.com/ruby/ruby/pull/4880 Notes: Merged: https://github.com/ruby/ruby/pull/5005
2021-10-20Don't enable YJIT by default. More tests on both Ubuntu and MacOS.Noah Gibbs
Add RUBY_YJIT_ENABLE env var and YJIT_FORCE_ENABLE compile-time constant. Rename YJIT_STATS to RUBY_YJIT_STATS.
2021-09-23.github/workflows/compilers.yml: Use `GNUMAKEFLAGS`.Jun Aruga
Because the `make` environment variable causes some rubygems tests to fail. And to align with `.cirrus.yml`. Notes: Merged: https://github.com/ruby/ruby/pull/4880
2021-09-10.github/workflows/compilers.yml: disable shared for LTO卜部昌平
LTO is about static links. Makes no sense to have DLLs. Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-09-10.github/workflows/compilers.yml: --enable-shared卜部昌平
Noticed that defs/gmake.mk has `exts: rubyspec-capiext` dependency only when $ENABLE_SHARED is true. This one adds extra tests so we basically welcome. Why not default it on. Notes: Merged: https://github.com/ruby/ruby/pull/4815
2021-08-30Unify configure stepsNobuyoshi Nakada
2021-08-24.github/workflows/compilers.yml: Specify a container running user as root.Jun Aruga
Explicitly specify the root as a user to run tests in the containers. Coming new ruby/ruby-ci-image images are required to run the container as a regular user by default, while the root user is required to run the compilers.yml. Add `id` command to print the user info. Co-authored-by: fedor <fedor@cirruslabs.org> Notes: Merged: https://github.com/ruby/ruby/pull/4766
2021-08-15Disable checks for LTO [ci skip]Nobuyoshi Nakada
2021-08-14Add checks for gcc/clang with LTONobuyoshi Nakada
2021-08-12Separate jobs conditionsNobuyoshi Nakada
2021-08-10.github/workflows/compilers.yml: clang-14卜部昌平
It seems LLVM-14 begun. See also https://github.com/llvm/llvm-project/commit/08c766a7318ab37bf1d77e0c683cd3b00e700877 Notes: Merged: https://github.com/ruby/ruby/pull/4718
2021-08-02Use `${{}}` for if statementHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4700
2021-07-01Replace copy coroutine with pthread implementation.Samuel Williams
2021-05-11.github/compilers/workflows.yml: support GCC-11卜部昌平
GCC 11.1 was released. https://gcc.gnu.org/pipermail/gcc/2021-April/235922.html See also https://github.com/ruby/ruby-ci-image/pull/1 Notes: Merged: https://github.com/ruby/ruby/pull/4484
2021-04-08Use autogen.shNobuyoshi Nakada