Граф коммитов

51 Коммитов

Автор SHA1 Сообщение Дата
nagachika 45b14ef5c5 merge revision(s) 7c9ce38cdb781958c52a89b910ee83d5fea99048:
Remove duplicated Rust installation

	---
	 .cirrus.yml | 6 +-----
	 1 file changed, 1 insertion(+), 5 deletions(-)
2023-07-16 23:30:43 +09:00
nagachika 6a323c3dbd merge revision(s) 6f4c8d1dcffe859442d857b4a6b4bcd7537b7797:
[Cirrus] Run only when YJIT sources change [skip appveyor]

	[ci skip] on other CIs.

	Our tasks very often reach a concurrency limit on Cirrus-CI, and get
	delayed.  Submitting new tasks during the delay seems to make delay
	longer and longer.  So I think we should restrict the use of Cirrus,
	provisionally at least.  As YJIT needs ARM build to test code for ARM,
	use only for it.
	---
	 .cirrus.yml | 7 +++++--
	 1 file changed, 5 insertions(+), 2 deletions(-)
2023-07-16 23:30:03 +09:00
nagachika 6feef620c5 merge revision(s) 4bfa4433830a4e48bc4ca43aef861d213affdd84:
[Cirrus] Set up cargo environments just once at first

	---
	 .cirrus.yml | 22 +++++++++++-----------
	 1 file changed, 11 insertions(+), 11 deletions(-)
2023-07-16 23:28:37 +09:00
nagachika 35b0f10519 merge revision(s) 3a761dcc91fcbed828699fcc38017f14a1a2db65,d2ffd0ad3d225b6b9e121278146eae8500e9f259:
[Cirrus] Show CPU and memory info

	---
	 .cirrus.yml | 6 ++++++
	 1 file changed, 6 insertions(+)

	[Cirrus] Share configuration using YAML aliases

	https://cirrus-ci.org/guide/tips-and-tricks/#sharing-configuration-between-tasks
	---
	 .cirrus.yml | 113 ++++++++++++++++++------------------------------------------
	 1 file changed, 33 insertions(+), 80 deletions(-)
2023-07-16 23:27:44 +09:00
nagachika e14280fa25 merge revision(s) bde3b98a6040800e05c9cf448228f094f80b8fed:
[Cirrus] Make gem download non-verbose

	---
	 .cirrus.yml | 16 ++++++++--------
	 1 file changed, 8 insertions(+), 8 deletions(-)
2023-07-16 23:20:16 +09:00
nagachika 88cd139992 merge revision(s) 37513490442322e82961bf6d06c1c86d55cb3830:
[Cirrus] Cache the bundled gems in advance

	---
	 .cirrus.yml | 19 +++++++++++++++++++
	 1 file changed, 19 insertions(+)
2023-07-16 18:59:17 +09:00
nagachika bfa04c0362 merge revision(s) 72f07f0a5f882e87e305d668587152fa209a0568:
Reduce concurrency of Cirrus-CI [ci skip]

	clang-12 takes 2-3 times longer than gcc-11.
	---
	 .cirrus.yml | 4 ----
	 1 file changed, 4 deletions(-)
2023-07-16 18:57:45 +09:00
Alan Wu 258ac07907
YJIT: Generate debug info in release builds (#6910)
* YJIT: Generate debug info in release builds

They are helpful in case we need to do core dump debugging.

* Remove Cirrus DOC skip rule

The syntax for this is weird, and escaping [ and ] cause parse failures.
Cirrus' docs said to surround with .*, but then that seems to skip
everything. Revert e0a4205eb7 for now.
2022-12-12 15:59:29 -05:00
Alan Wu e0a4205eb7 Skip Cirrus checks for [DOC] commits
Since we also skip them on GitHub Actions.
2022-12-11 12:14:04 -05:00
Takashi Kokubun 607fb49dbc
YJIT: Lower the required Rust version from 1.58.1 to 1.58.0 (#6780) 2022-11-21 10:27:39 -08:00
Takashi Kokubun 792dc553f1
YJIT: Test --yjit-verify-ctx on GitHub Actions as well (#6639) 2022-10-26 18:20:33 -04:00
Nobuyoshi Nakada 1e66d3b853
Ignore manual files only commits [ci skip] 2022-10-20 21:58:06 +09:00
Takashi Kokubun 166140aa28
YJIT: Set RUST_BACKTRACE=1 in every Cirrus script (#6526)
* YJIT: Set RUST_BACKTRACE=1 in every Cirrus script

* YJIT: Print $CIRRUS_ENV correctly

It looks like $CIRRUS_ENV is cleaned up at every script.
2022-10-12 15:50:50 -04:00
Takashi Kokubun 912ea8257a
YJIT: Support Rust 1.58.1 for --yjit-stats on Arm (#6410)
* YJIT: Test Rust 1.58.1 as well on Cirrus

* YJIT: Avoid using a Rust 1.60.0 feature

* YJIT: Use autoconf to detect support

* YJIT: We actually need to run it

for checking it properly

* YJIT: Try cfg!(target_feature = "lse")

* Revert "YJIT: Try cfg!(target_feature = "lse")"

This reverts commit 4e2a9ca9a9c83052c23b5e205c91bdf79e88342e.

* YJIT: Add --features stats only when it works

* Update configure.ac

Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
2022-09-23 16:17:54 -04:00
Takashi Kokubun e896b33860
Test --enable-yjit on aarch64 as well (#6313) 2022-09-01 20:05:49 -07:00
Takashi Kokubun fb5fa84f83
Remove workarounds for slow compilation on Cirrus (#6310)
Remove workarounds for slow compilation
2022-09-01 20:05:13 -07:00
Nobuyoshi Nakada 811ca75f3b
Remove -j option
Close https://github.com/ruby/ruby/pull/6307

Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2022-08-31 15:09:22 -07:00
Maxime Chevalier-Boisvert 4a4daf00af Update .cirrus.yml 2022-08-30 14:21:43 -07:00
Takashi Kokubun 918a658556 Run cargo test on Cirrus 2022-08-30 14:21:43 -07:00
Takashi Kokubun 497b5ee180 Normalize the YJIT Cirrus workflow a little 2022-08-30 14:21:43 -07:00
Takashi Kokubun c2e9253893 Stop saying it's temp checks (https://github.com/Shopify/ruby/pull/441) 2022-08-29 09:09:41 -07:00
Takashi Kokubun 4b7d3884df Avoid randomizing the order of test-all on arm64 (https://github.com/Shopify/ruby/pull/440)
for now
2022-08-29 09:09:41 -07:00
Takashi Kokubun 232e43fd52 Respect RUBY_TESTOPTS on test-all (https://github.com/Shopify/ruby/pull/435)
* Respect RUBY_TESTOPTS on test-all

* Increase the Cirrus timeout

* Increase the CSV test timeout
2022-08-29 09:09:41 -07:00
Takashi Kokubun d433eb957b Run tests with --yjit-call-threshold=1 on arm64 (https://github.com/Shopify/ruby/pull/426) 2022-08-29 09:09:41 -07:00
Takashi Kokubun d5fe9e1d9a Run test-all with RUBY_YJIT_ENABLE=1 on CI (https://github.com/Shopify/ruby/pull/418) 2022-08-29 09:09:41 -07:00
Takashi Kokubun 5114ddce3f Avoid marking op_type on gen_defined (https://github.com/Shopify/ruby/pull/419) 2022-08-29 09:09:41 -07:00
Maxime Chevalier-Boisvert 95dce1ccac
Temporarily disable rb_str_concat, add CI tests (https://github.com/Shopify/ruby/pull/407)
Make sure we can load the test-all runner and run test_yjit.rb
2022-08-29 08:47:11 -07:00
Maxime Chevalier-Boisvert b54643d13a
Handle out of memory tests (https://github.com/Shopify/ruby/pull/393) 2022-08-29 08:47:10 -07:00
Maxime Chevalier-Boisvert cad35fb25c
Try to run make -j in CI backend tests (https://github.com/Shopify/ruby/pull/386) 2022-08-29 08:47:09 -07:00
Takashi Kokubun 668b99b43b
Port gen_send_iseq to the new backend IR (https://github.com/Shopify/ruby/pull/381)
* Port gen_send_iseq to the new backend IR

* Replace occurrences of 8 by SIZEOF_VALUE

Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
2022-08-29 08:47:09 -07:00
Maxime Chevalier-Boisvert 32d9eef562
Enable test_literal.rb and test_ractor.rb on arm 2022-08-29 08:47:09 -07:00
Maxime Chevalier-Boisvert 85d6d76e41
Enable test_insns.rb on arm 2022-08-29 08:47:08 -07:00
Maxime Chevalier-Boisvert 46822ee13f
Enable btests now passing on arm (https://github.com/Shopify/ruby/pull/378) 2022-08-29 08:47:08 -07:00
Maxime Chevalier-Boisvert d63b3e43bd
Enable test_thread.rb on arm, now working 2022-08-29 08:47:06 -07:00
Maxime Chevalier-Boisvert 9db2ca723c
Add 1 more allocatable reg on arm 2022-08-29 08:47:06 -07:00
Maxime Chevalier-Boisvert e131b217cf
Test --yjit-stats in our CI workflows 2022-08-29 08:47:04 -07:00
Maxime Chevalier-Boisvert 133ad38777
Fix CI workflows 2022-08-29 08:47:04 -07:00
Kevin Newton f593b2c6db
Fixes for AArch64 (https://github.com/Shopify/ruby/pull/338)
* Better splitting for Op::Add, Op::Sub, and Op::Cmp

* Split stores if the displacement is too large

* Use a shifted immediate argument

* Split all places where shifted immediates are used

* Add more tests to the cirrus workflow
2022-08-29 08:47:04 -07:00
Maxime Chevalier-Boisvert 96303342e4
Enable more btests 2022-08-29 08:47:04 -07:00
Maxime Chevalier-Boisvert e9a2effd74
Enable more btests in the CI workflows (https://github.com/Shopify/ruby/pull/334)
* Enable more btests in the CI workflows

* Update workflows
2022-08-29 08:47:03 -07:00
Maxime Chevalier-Boisvert 90137f5194
Implement PosMarker instruction (https://github.com/Shopify/ruby/pull/328)
* Implement PosMarker instruction

* Implement PosMarker in the arm backend

* Make bindgen run only for clang image

* Fix if-else in cirrus CI file

* Add missing semicolon

* Try removing trailing semicolon

* Try to fix shell/YAML syntax

Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
2022-08-29 08:47:02 -07:00
Maxime Chevalier-Boisvert bf7277b518
Update cirrus workflow 2022-08-29 08:47:01 -07:00
Maxime Chevalier-Boisvert 7787ef29fe
Add --yjit-dump-insns test to Cirrus Arm workflow 2022-08-29 08:47:01 -07:00
Maxime Chevalier-Boisvert 38c2fb8a90
Port YJIT New Backend Temp Checks to Cirrus (https://github.com/Shopify/ruby/pull/312)
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2022-08-29 08:46:59 -07:00
Nobuyoshi Nakada d91865f33f
Ignore `.document` only commits [ci skip] 2022-08-22 18:08:05 +09:00
S-H-GAMELINKS 3a70d4cd60 [DOC] Fix ghcr link 2022-03-31 08:35:39 +09:00
Nobuyoshi Nakada aceb75f6c9
Skip tests if only document files changed on Cirrus-CI [ci skip] 2021-11-25 11:10:34 +09:00
Nobuyoshi Nakada 5ec730cda5
Set the locale encoding to UTF-8
Cirrus CI sets the environment variable `CIRRUS_COMMIT_MESSAGE`
from the pull request description.
2021-09-28 00:52:18 +09:00
Nobuyoshi Nakada a28fff5f73
Revert "Unexport `CIRRUS_COMMIT_MESSAGE`"
This reverts commit 09863a4cd8.
2021-09-28 00:52:18 +09:00
Nobuyoshi Nakada 09863a4cd8
Unexport `CIRRUS_COMMIT_MESSAGE`
Cirrus CI sets this environment variable from the pull request
description.  However it does not seem any locales other than C
are installed, the default external encoding is US-ASCII.  That
means this environment variable will be an invalid byte sequence,
and some tests fail.
2021-09-27 21:11:56 +09:00