1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

17 commits

Author SHA1 Message Date
Nobuyoshi Nakada
922a81a994
Skip tests on pull requests labeled as Documentation 2021-12-18 13:06:15 +09:00
Nobuyoshi Nakada
5bf0060e0a
[DOC] Skip tests if only documents change [ci skip]
Run only checks for source code.  Currently, our CIs do almost
nothing about the documents.
2021-12-16 17:50:20 +09:00
Nobuyoshi Nakada
3f1dcd7fff
Cache downloaded files
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.
2021-12-02 22:21:20 +09:00
Nobuyoshi Nakada
784f1e1538
Throttle pull-requests only [ci skip] 2021-11-21 19:23:36 +09:00
Maxime Chevalier-Boisvert
cdebf57ec6
Add --yjit-no-type-prop so we can test YJIT without type propagation (#5135)
* Add --yjit-no-type-prop so we can test YJIT without type propagation

* Fix typo in command line option

* Leave just two test workflows enable for YJIT
2021-11-18 10:44:31 -05:00
Nobuyoshi Nakada
e2b78440ba
Throttle GitHub Actions [ci skip]
As GitHub Actions are choking a lot lately, throttle the checks
down to the latest commit only per branches.
2021-11-18 22:54:57 +09:00
Nobuyoshi Nakada
0a9cbe8562
Skip tests if only document files changed 2021-10-29 00:22:26 +09:00
卜部昌平
748688a63d .github: use GNUMAKEFLAGS instead of JOBS
A bit readable to me.
See also https://github.com/ruby/ruby/pull/4880
2021-10-26 09:05:46 +09:00
Nobuyoshi Nakada
1ea5325360
Reduce YJIT runs on Ubuntu [ci skip] 2021-10-24 19:35:29 +09:00
Nobuyoshi Nakada
fe77a03392
Use ${{}} for if statement 2021-10-24 19:35:28 +09:00
Alan Wu
5d2e5218f6 Use env var to turn on YJIT for test-bundled-gems
tool/test-bundled-gems.rb use sub processes for testing bundled gems and
doesn't support RUN_OPTS. We weren't enabling YJIT for these tests.
Use an include config with RUBY_YJIT_ENABLE to turn on YJIT for these
tests.

Note that we only test with the default call threshold in this setup,
which is the same as before YJIT was off by defauft. The
--yjit-call-threshold command line was never passed to the tests.
2021-10-20 18:19:43 -04:00
Alan Wu
ec4a79a746 Remove YJIT CI configs for tests make check runs
"make check" runs "make test-spec" and "make test-all", so they don't
need to be individual elements of the matrix.
2021-10-20 18:19:43 -04:00
Alan Wu
413397b91e Turn on YJIT for repeat-count=2 runs through env var
It wasn't on at all before... Since it's a snowflake "include" matrix
element, might as well test the env var with it.
2021-10-20 18:19:43 -04:00
Alan Wu
34f1595405 Enable leaked global tests in YJIT workflows 2021-10-20 18:19:42 -04:00
Alan Wu
99facbc070 Correct workflow name for YJIT Ubuntu 2021-10-20 18:19:42 -04:00
Noah Gibbs
4705db6a37 Try turning off test-bundler-parallel to see if that fixes all the build errors 2021-10-20 18:19:42 -04:00
Noah Gibbs
21e58acef3 Don't enable YJIT by default. More tests on both Ubuntu and MacOS.
Add RUBY_YJIT_ENABLE env var and YJIT_FORCE_ENABLE compile-time constant.
Rename YJIT_STATS to RUBY_YJIT_STATS.
2021-10-20 18:19:42 -04:00