dependabot[bot]
7816307b30
Bump actions/checkout from 4.0.0 to 4.1.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](3df4ab11eb...8ade135a41
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 12:42:39 +09:00
Takashi Kokubun
1da97292f8
Ignore rbs test failures
...
For some reason, it's been failing only on YJIT, but apparently it's
reproducible on the interpreter as well. So it's not related to YJIT.
rbs marked rbs tests on Ruby master as allow_failures
https://github.com/ruby/rbs/pull/1536 , so it's known to not work on Ruby
master.
We should revert this once we fix the flaky test failure on Ruby master.
2023-09-23 00:05:47 -07:00
Nobuyoshi Nakada
a49d17a080
Slack notification cannot send from other than ruby/* [ci skip]
2023-09-21 15:21:57 +09:00
Takashi Kokubun
639971a080
--disable-jit-support no longer exists
2023-09-20 10:14:56 -07:00
dependabot[bot]
12934b58c7
Bump ruby/setup-ruby from 1.153.0 to 1.154.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.153.0 to 1.154.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](5311f05890...52b8784594
)
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 11:51:58 +09:00
dependabot[bot]
5a7f5bb0de
Bump actions/checkout from 3.6.0 to 4.0.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.6.0 to 4.0.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](f43a0e5ff2...3df4ab11eb
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 17:05:23 +09:00
dependabot[bot]
74277f9998
Bump ruby/setup-ruby from 1.152.0 to 1.153.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.152.0 to 1.153.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Commits](250fcd6a74...5311f05890
)
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 12:20:35 +09:00
Takashi Kokubun
07b615bb3b
Skip renaming OpenSSL DLLs
...
to fix CI failures like:
https://github.com/ruby/ruby/actions/runs/6190995187/job/16808382442
2023-09-14 15:02:12 -07:00
Alan Wu
f644996f2e
For YJIT Actions, don't filter test-spec backtraces
...
I'm trying to debug a flaky `RuntimeError: nested #it` failure in
ruby/spec. Hopefully the full backtrace will give some clues.
Last occurence:
https://github.com/ruby/ruby/actions/runs/6172578817/job/16753137038
2023-09-13 19:42:51 -04:00
dependabot[bot]
15fd897629
Bump actions/cache from 3.3.1 to 3.3.2
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](88522ab9f3...704facf57e
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-08 12:26:50 +09:00
Nobuyoshi Nakada
fa70e361e0
CodeQL: Increase memory size [ci skip]
...
Query evaluation ran out of Java heap frequently since CodeQL 2.14.3.
2023-08-31 14:06:35 +09:00
Takashi Kokubun
1edb03788d
Stop using -v for rjit test-all
...
It outputs way too many lines. It's hard to download the output from
GitHub Actions.
2023-08-30 10:18:11 -07:00
Nobuyoshi Nakada
9126dd4b0e
Enable jobserver mode in submake [ci skip]
...
Filter out `-j` option not to reset jobserver mode which is enabled by
the environment variable.
2023-08-29 18:01:19 +09:00
卜部昌平
197e91f357
build matrix for universal parser
2023-08-25 17:27:53 +09:00
卜部昌平
fa2712981f
workaround clang-17 -Wc2x-extensions
...
cf: 874217f99b
2023-08-25 17:27:53 +09:00
卜部昌平
b88bdf1ebb
direct use of CFLAGS
...
Autoconf 2.71's `AC_PROG_CC` nukes `CC` variable, which we don't
want. For instance a user could specify `--with-gcc="gcc -std=c99"`
to _force_ C99 mode; but `AC_PROG_CC` just nulifies that `-std=c99`
part.
`AC_PROG_CC` is called everywhere from inside of autoconf itself via
`AC_REQUIRE([AC_PROG_CC])`. It is not a wise idea to try avoiding
this macro at all. We need to reroute `-std=` flags to somewhere
else.
2023-08-25 17:27:53 +09:00
卜部昌平
eb57b6ba82
[CI]: LLVM 18 begun
2023-08-25 17:27:53 +09:00
Nobuyoshi Nakada
5b407450f5
Skip push by dependabot [ci skip]
...
Would be pull-requested soon.
2023-08-25 17:10:45 +09:00
dependabot[bot]
945e79c996
Bump actions/checkout from 3.5.3 to 3.6.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](c85c95e3d7...f43a0e5ff2
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-25 12:08:51 +09:00
Nobuyoshi Nakada
554b370b72
Generate sources before checks
2023-08-24 21:12:51 +09:00
Takashi Kokubun
efd611ceb6
Revert "[ruby/yarp] rust: Initial yarp-sys"
...
This reverts commit e6e23b92e3
.
It seems like it wasn't added for ruby/ruby.
We could fix tool/sync_default_gems.rb to deal with this, but we have a
pull request that changes that part now, so let me only revert this for
now and revisit this after merging that pull request.
2023-08-15 13:54:46 -07:00
Steve Loveless
e6e23b92e3
[ruby/yarp] rust: Initial yarp-sys
...
Still need to add more tests
Update Cargo.toml; add README
Switch yp_string_t_type variants to SNAKE_CASE
Add unescape tests
Add encoding callback tests
Add pack_parse test
Add diagnostic test
Add comment test
Add node tests
Add string_list tests
Add other string tests
Add shared string test
Add list tests
Fixes for updated branch
Run bundle install before running Rust tests
Fix version test
ci: Add proper config for rust-toolchain step for sanitizers
ci: Fix tests, clippy
Remove extra `bundle install`; run `bundle exec rake`
Didn't realize `setup-ruby`'s `bundle-cache: true` runs `bundle install`.
Remove `rake compile` from build.rs
This is complicating CI for me; maybe we add it back later.
Undo README formatting changes
Fix UB in C callbacks
Use slice+str instead of String for raw things
Move bindings to bindings module
Handle non-UTF-8 strings in paths
rust ci: test with sanitizers; add -D warnings
Update rust-bindings.yml
Update Cargo.toml
Don't need to compile extra crate_types
PR changes
Apply patch from @kddnewton
Delete unescape_tests.rs
Fix things after rebasing
https://github.com/ruby/yarp/commit/273790e40b
2023-08-15 20:52:06 +00:00
Nobuyoshi Nakada
6066f8d337
Fix a typo to suppress updating rbconfig.rb during `make up`
2023-08-15 23:30:41 +09:00
Nobuyoshi Nakada
b76c2ec005
Use `::` form workflow commands
2023-08-15 23:30:40 +09:00
Nobuyoshi Nakada
46c428a926
Make test-spec on Windows silent a little
2023-08-12 11:19:10 +09:00
Takashi Kokubun
58424787fc
Extend the CI timeout for macOS
...
https://github.com/ruby/ruby/actions/runs/5836610844/job/15830549311
2023-08-11 14:06:09 -07:00
Takashi Kokubun
f25e7eac04
Fix the yjit-bindgen job
...
`YJIT_BINDGEN_DIFF_OPTS=--exit-code make yjit-bindgen` is not the same
as `make yjit-bindgen YJIT_BINDGEN_DIFF_OPTS=--exit-code`, of course.
2023-08-10 17:43:10 -07:00
Takashi Kokubun
1b0da1e623
Skip running brew upgrade ( #8189 )
...
This has been unstable:
https://github.com/ruby/ruby/actions/runs/5797755676/job/15713988590
and I'm not sure if we need that in the first place, assuming the
OS image itself is maintained by GitHub.
2023-08-08 16:46:12 -07:00
Nobuyoshi Nakada
e4fcac42d2
Find paths of tools [ci skip]
...
Recent GitHub Actions Windows containers seem having Strawberry tools.
2023-08-02 13:48:43 +09:00
Takashi Kokubun
5ff1c00e17
YJIT: Let local yjit-bindgen exit successfully ( #8156 )
2023-08-01 14:46:14 -07:00
Nobuyoshi Nakada
49b76e57cc
Test `SHARABLE_MIDDLE_SUBSTRING` [ci skip]
2023-07-28 22:22:12 +09:00
Alan Wu
14691d39e9
Revert "GitHub Actions: fix ENOENT for jobs running in forks"
...
Revert b106cf2eef
.
Sorry, it didn't actually fix the problem. See for example:
https://github.com/peterzhu2118/ruby/actions/runs/5659386206/job/15332833836
The plot thickens.
2023-07-25 18:46:00 -04:00
Alan Wu
b106cf2eef
GitHub Actions: fix ENOENT for jobs running in forks
...
https://github.com/peterzhu2118/ruby/actions/runs/5649652235/job/15304434412
> Errno::ENOENT: No such file or directory @ rb_sysopen -
> ./.downloaded-cache/config.guess:
> https://raw.githubusercontent.com/gcc-mirror/gcc/master/config.guess
Unsure about the root cause but making sure the directory is there seems like a
plausible fix. Maybe the issue is sensitive to cache state.
2023-07-24 19:23:08 -04:00
Takashi Kokubun
83605bb614
Just assume rustc is in the container
2023-07-21 10:50:19 -07:00
Nobuyoshi Nakada
22f9735587
Use already installed `rustc` if available [ci skip]
2023-07-21 18:38:29 +09:00
Kazuhiro NISHIYAMA
ea2fc58d9a
Fix a typo [ci skip]
2023-07-19 19:29:41 +09:00
Peter Zhu
4e0b287912
Remove RGENGC_OLD_NEWOBJ_CHECK
...
The code doesn't compile, so probably nobody is using this.
2023-07-14 13:53:34 -04:00
Peter Zhu
87e1486d31
Remove unused references to the transient heap
2023-07-13 14:48:14 -04:00
Peter Zhu
1e7b67f733
[Feature #19730 ] Remove transient heap
2023-07-13 09:27:33 -04:00
Nobuyoshi Nakada
e098468d7f
Let `[DOC]` in PR title skip CIs
2023-07-13 19:08:50 +09:00
Nobuyoshi Nakada
f052aa11f2
macos: try --enable-shared
2023-07-08 11:31:17 +09:00
Nobuyoshi Nakada
46fe9ba0f5
macos: set configure options in the compsite action
2023-07-08 11:31:17 +09:00
Hiroshi SHIBATA
a642a94b68
llvm-objcopy is not provided by Xcode Command Line Tools.
...
Revert "Disable YJIT if objcopy command is old"
This reverts commit 75f8781c08
.
2023-07-07 09:28:27 +09:00
Nobuyoshi Nakada
75f8781c08
Disable YJIT if objcopy command is old
...
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2023-07-06 21:16:00 +09:00
卜部昌平
20478cafe1
do not set environment variables
...
These variables were used only once.
2023-07-06 17:26:20 +09:00
Takashi Kokubun
1dde9d7260
Explain why YJIT is disabled for clang<=9 [ci skip]
2023-07-05 10:10:51 -07:00
Nobuyoshi Nakada
6a871baa3c
Note that YJIT requires FLONUM [ci skip]
2023-07-05 23:34:00 +09:00
卜部昌平
833b32f503
also disable yjit for clang < 10
...
They don't compile. I guess nobody actively maintain such old
compilers. Chances are the situation won't improve. Let's stop
testing yjit on them.
2023-07-05 23:13:40 +09:00
卜部昌平
dd7c590f8a
disable yjit when for non-flonum
...
YJIT does not interface with this flag.
2023-07-05 23:13:40 +09:00
卜部昌平
ab66155620
fix substitution errors
...
These expressions don't exist.
2023-07-04 20:13:49 +09:00