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
0a1b3b3a67
Try test_interrupt_in_other_thread
...
Seems working now probably because of system library updates.
2021-11-26 17:57:19 +09:00
Nobuyoshi Nakada
9850176984
Split skipped tests step
2021-11-25 21:34:41 +09:00
Nobuyoshi Nakada
51404eec59
Ignore pkg-config installation failure due to unmet dependencies
2021-11-25 19:13:36 +09:00
Nobuyoshi Nakada
a1eaeb8e40
Stop duplicated runs
2021-11-25 19:13:27 +09:00
MSP-Greg
7d55f1b6b6
[Actions] use windows-2022 for mingw
...
MSP-Greg/ruby-setup-ruby@win-ucrt-1
2021-11-24 23:04:54 +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
2efbb35a8f
Remove macOS CIs [ci skip]
2021-11-18 17:39:28 +09:00
Maxime Chevalier-Boisvert
0fecf1b37e
Add Aaron Patterson (@tenderlove) to YJIT code owners ( #5119 )
2021-11-15 13:59:43 -05:00
Kazuhiro NISHIYAMA
e73197dff5
Update vcvars on windows-2022 [ci skip]
...
875a056af0
d6a789cbef (diff-a1f67f5c4a583bf90c239743379ad9473fbf1fa9d11c5cb7739c8012404dcc7aR229)
2021-11-12 09:56:24 +09:00
Nobuyoshi Nakada
850912b6e0
Install pkg-config on 32-bit Ubuntu [ci skip]
2021-11-10 17:47:12 +09:00
Nobuyoshi Nakada
5a3b2e6141
Needs `$` in `make` command line to be escaped
2021-11-09 16:21:54 +09:00
Nobuyoshi Nakada
395738e8a5
Separate TestReadline#test_interrupt_in_other_thread
...
This method is already known to fail on Travis-CI arm32-linux.
2021-11-08 18:33:41 +09:00
Nobuyoshi Nakada
a64f7e9c00
Try 32bit environment
2021-11-08 18:04:52 +09:00
Nobuyoshi Nakada
e0a5c3d2b7
[MinGW] Set job names
2021-11-07 20:46:26 +09:00
Nobuyoshi Nakada
8dc2fce2be
[MinGW] Highlight where groups
2021-11-07 20:46:26 +09:00
Nobuyoshi Nakada
7068255b0c
[MinGW] Run in sh
2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada
acd82cc31a
[MinGW] Run test-spec
2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada
5ebda74ae1
[MinGW] Pass -j option via environment variables
2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada
6295e348a9
[MinGW] Clear BUNDLER_VERSION unconditinally
2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada
dc4dd96b02
[MinGW] Remove unnecessary encoding settings
2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada
8acb2a9b40
[MinGW] Use autogen
2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada
ec032e86fa
[MinGW] Clear prefix and move the directory to DESTDIR
...
Also the destination will be created at the installation.
2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada
ba0e3ea130
[MSWin] Pass TESTOPTS via RUBY_TESTOPTS
2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada
30583bc947
[MSWin] Split nmake step
...
The workflow output grouping seems effective even in the middle of
lines.
2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada
5eb54c495f
[MinGW] Set job env vars at once
2021-11-07 20:39:16 +09:00
Nobuyoshi Nakada
b93a5f96c8
bundled_gems: Pull before new commit [ci skip]
2021-11-01 12:50:23 +09:00
Nobuyoshi Nakada
27220b2fe4
Skip CodeQL if only document files changed [ci skip]
2021-10-29 11:04:58 +09:00
Nobuyoshi Nakada
92ad520ad0
Merge macOS CIs to reduce concurrency
...
On GitHub Actions, the macOS runners seem much more expensive than
Ubuntu, and its limit is the most significant bottlenecks for our
CIs. As the "check" tasks usually finish 3 or 4 times faster than
"test-bundler-parallel", it will be balanced by running all three
"check" tasks sequentially.
2021-10-29 10:57:02 +09:00
Nobuyoshi Nakada
96648c5093
Mitigate the timeout of tests [ci skip]
...
* The worker timeouts seem working for test-all.
* The bundled gems have increased.
2021-10-29 10:32:52 +09:00
Nobuyoshi Nakada
0a9cbe8562
Skip tests if only document files changed
2021-10-29 00:22:26 +09:00
卜部昌平
b49ec78fd0
more on eliminating $make
2021-10-26 09:05:46 +09:00
卜部昌平
b682f76339
GNUMAKEFLAGS is too new for mac
...
It is relatively well known that mac does not update its command line
tools, and make is no exception. They ship GNU make 3.x, which didn't
yet implemented GNUMAKEFLAGS.
Resort to MAKEFLAGS there.
2021-10-26 09:05:46 +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
Maxime Chevalier-Boisvert
10fe8495cd
Update YJIT code owners. Revert accidental commit.
2021-10-25 14:53:22 -04:00
Maxime Chevalier-Boisvert
cf52a2c9ba
Add code owners for YJIT sources
...
Code owners are automatically tagged as reviewers on pull requests
2021-10-25 14:28:39 -04: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
Nobuyoshi Nakada
aee4940d5e
Reduce YJIT runs on macOS [ci skip]
...
MacOs concurrency on GitHub Actions is limited, and the
performance is relatively poor.
2021-10-22 17:14:00 +09:00
Alan Wu
8a9a2d0049
Move test_yjit_asm.sh into misc
...
Since conventionally scripts don't live at the top level of the repo.
2021-10-20 18:19:43 -04:00
Alan Wu
de0af4faad
Revert "Disable YJIT while running MJIT tests ( #62 )"
...
This reverts commit 60f3f25cc4
.
We don't need to pass --disable-yjit when running MJIT tests anymore
because we are off by default.
2021-10-20 18:19:43 -04:00
Alan Wu
63faab3c36
Minimize diff in existing workflow files
2021-10-20 18:19:43 -04: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
27661ee8a3
Turn on YJIT in macOS workflow
...
It wasn't on at all and the printout of RUBY_DESCRIPTION at the end of
`make check` wasn't saying +YJIT.
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