Skip to content

Merge from upstream #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 149 commits into from
Nov 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
902e459
Prevent buffer overrun in regparse.c
mame Oct 25, 2022
d76284d
sync_default_gems.rb: Ignore unmergeable files [ci skip]
nobu Oct 25, 2022
71a5b1d
[ruby/tmpdir] [DOC] Improve documentation
nobu Oct 25, 2022
cade3ab
[ruby/tmpdir] Fix typo
nobu Oct 25, 2022
ba15fb7
[rubygems/rubygems] Bump rb-sys in /test/rubygems/test_gem_ext_cargo_…
dependabot[bot] Oct 24, 2022
287c5da
[ruby/tmpdir] Make `Dir.tmpdir` more idiomatic and functional
Sep 20, 2022
d55f72b
[ruby/tmpdir] Update supported and testing ruby versions
nobu Oct 25, 2022
883d9c3
[ruby/tmpdir] Found or raise
nobu Oct 25, 2022
114e71d
[ruby/tmpdir] Ignore empty environment variables
nobu Oct 25, 2022
1d2d25d
Prevent potential buffer overrun in onigmo
mame Oct 25, 2022
b7644a2
YJIT: GC and recompile all code pages (#6406)
k0kubun Oct 25, 2022
217fdbf
[ruby/erb] url_encode: use CGI.escapeURIComponent
byroot Oct 25, 2022
48339d5
[ruby/irb] Make sure Encoding's defaults are restored
st0012 Oct 25, 2022
ea98912
Bundler: update docs for gemfile(5) manpage
tnir Oct 23, 2022
d6d9b51
[ruby/erb] Version 3.0.0
k0kubun Oct 25, 2022
a733633
Update default gems list at d6d9b5130e5545e978fc9763e9419b [ci skip]
matzbot Oct 25, 2022
1dd9511
Use ruby/[email protected] and ref_name (#6633)
k0kubun Oct 26, 2022
1670e96
[win32] Only include base windows types
joshcooper Oct 25, 2022
923aed2
Start notifying Cirrus CI failures
k0kubun Oct 26, 2022
1161454
Add NEWS entries about MJIT [ci skip]
k0kubun Oct 26, 2022
df43611
CI skip should not be notified [ci skip]
k0kubun Oct 26, 2022
94f3aa2
Improve Cirrus notification metadata [ci skip]
k0kubun Oct 26, 2022
287eac5
Fix format specifiers for `size_t`
nobu Oct 26, 2022
a14611c
Fix -Wundef warnings
nobu Oct 26, 2022
131c31a
[Bug #19081] Show the caller location in warning for Ractor
nobu Oct 26, 2022
b795e66
Add NEWS entries about YJIT [ci skip] (#6636)
k0kubun Oct 26, 2022
40f8a78
[ruby/irb] Extract without_rdoc helper
st0012 Oct 24, 2022
d889e81
[ruby/irb] Add test for the help command
st0012 Oct 24, 2022
2022470
[ruby/irb] Suppress warnings
st0012 Oct 25, 2022
cb95d83
[ruby/irb] Don't insert new methods to Test::Unit::TestCase
st0012 Oct 26, 2022
73a0223
[ruby/irb] Rename test_helper.rb to helper.rb
peterzhu2118 Oct 26, 2022
0dc2e1a
[ruby/irb] Remove unnecessary warning check on help command
st0012 Oct 26, 2022
fa0adba
YJIT: Invalidate i-cache for the other cb on next_page (#6631)
k0kubun Oct 26, 2022
c746f38
YJIT: Support nil and blockparamproxy as blockarg in send (#6492)
matthewd Oct 26, 2022
a8e2d73
Fix the url of Cirrus failure notifications [ci skip]
k0kubun Oct 26, 2022
792dc55
YJIT: Test --yjit-verify-ctx on GitHub Actions as well (#6639)
k0kubun Oct 26, 2022
cb80ee7
[ruby/tmpdir] Warnings should contain the environment variable name
nobu Oct 26, 2022
739ad81
[ruby/date] Check month range as civil
nobu Oct 27, 2022
5129ca3
[ruby/rdoc] Delay `require "readline"` in case the terminal is in raw…
shugo Oct 27, 2022
26b913c
[ruby/irb] Add test for IRB::InputCompletor::PerfectMatchedProc
st0012 Oct 27, 2022
7cf7e6c
[ruby/irb] Add missing require
st0012 Oct 27, 2022
c6f439a
Improve performance some `Integer` and `Float` methods [Feature #1908…
S-H-GAMELINKS Oct 27, 2022
8d78442
[ruby/irb] Remove unecesary and harmful pend for TruffleRuby in TestR…
eregon Oct 27, 2022
bb7067c
[ruby/irb] Suppress warning for test which uses a locale non-existing…
eregon Oct 27, 2022
b260c1e
[ruby/irb] Remove unnecessary test setup
st0012 Oct 25, 2022
ea59725
[ruby/irb] Fix warnings in test_cmd.rb
peterzhu2118 Oct 27, 2022
2812a57
Update docs wrt YJIT limitations and building YJIT (#6641)
maximecb Oct 27, 2022
9cf027f
YJIT: Use guard_known_class() for opt_aref on Arrays (#6643)
XrXr Oct 27, 2022
e6e2022
sync_default_gems.rb: append orignal commit URLs to subject only log
nobu Oct 28, 2022
7440fc3
[ruby/irb] Suppress "switching inspect mode" messages
nobu Oct 28, 2022
13e968c
[ruby/irb] Suppress sequence to inspect asian ambiguous width
nobu Oct 28, 2022
56c97a6
[ruby/irb] Update regarding NO_COLOR value
nobu Oct 28, 2022
4021c65
[ruby/irb] Do not make non-existent XDG directory on start
nobu Mar 31, 2022
1de8a42
sync_default_gems.rb: do not add extra empty lines [ci skip]
nobu Oct 28, 2022
9b462ae
Follow up "Rework `first_lineno` to be `int`."
nobu Oct 28, 2022
5e0432f
fix ASAN error in GC
tenderlove Oct 28, 2022
c5ca250
Clear `_FORTIFY_SOURCE` before definition
nobu Oct 29, 2022
bc28acc
[ruby/digest] Use CommonDigest by default if available
nobu Oct 29, 2022
4dac53f
[ruby/optparse] Add tests for `OptionParser#load`
nobu Oct 29, 2022
37291df
[ruby/optparse] #load() into hash
5long Oct 29, 2022
d5fb76a
[ruby/optparse] Add tests for `load(into:)`
nobu Oct 29, 2022
572cd10
Fix links and sort [ci skip]
znz Oct 29, 2022
91c28ab
[DOC] Enhanced RDOc for IO (#6642)
BurdetteLamar Oct 29, 2022
1acbcf0
Update bundled gems list at 2022-10-30
matzbot Oct 30, 2022
b64514f
vcs.rb: prettify debug print
nobu Oct 30, 2022
00d5b7c
vcs.rb: copy safe directory configuration
nobu Oct 30, 2022
2821423
Run spec_guards only when spec files changed [ci skip]
nobu Oct 30, 2022
0717cb8
Try -fstack-protector-strong on MinGW
nobu Oct 30, 2022
37593c7
Ignore failure at moving revision.h [ci skip]
nobu Oct 30, 2022
7ed10ab
[ruby/bigdecimal] Suppress macro redefinition warnings
nobu Oct 30, 2022
3391c51
Add `node_id_for_backtrace_location` function
eileencodes Oct 19, 2022
350d0aa
[ruby/error_highlight] Support nodes in `spot`
eileencodes Oct 19, 2022
c3de08c
Reuse FIBER_RESUMED_P macro
S-H-GAMELINKS Oct 26, 2022
5e6633f
YJIT: reduce default `--yjit-exec-mem-size` to 128MiB instead of 256 …
maximecb Oct 31, 2022
2b39640
YJIT: Add RubyVM::YJIT.code_gc (#6644)
k0kubun Oct 31, 2022
02f1554
Implement object shapes for T_CLASS and T_MODULE (#6637)
jhawthorn Oct 31, 2022
2d86e79
Always lookup IV buffers when iterating
tenderlove Oct 31, 2022
4c59808
[rubygems/rubygems] Bump rb-sys
dependabot[bot] Oct 31, 2022
2d3ecc4
Adjust indents [ci skip]
nobu Nov 1, 2022
aa8c675
vcs.rb: do not reference the constant before assignment
nobu Nov 1, 2022
1695386
We don't care about actual hostname resolution. (#6652)
ioquatix Nov 1, 2022
f0c8c1e
vpath.rb: tweak --vpath option message
nobu Nov 1, 2022
99a79dc
colorize.rb: support for NO_COLOR
nobu Nov 1, 2022
a2e7b11
output.rb: extract from generic_erb.rb
nobu Nov 1, 2022
7e6e942
file2lastrev.rb: rename output as format
nobu Nov 1, 2022
6bf458e
file2lastrev.rb: use output.rb for the options
nobu Nov 1, 2022
a70f90e
YJIT: Delete redundant ways to make Context
XrXr Nov 1, 2022
cbf15e5
YJIT: Add an assert to help with Context changes
XrXr Nov 1, 2022
0d1e198
YJIT: Visualize live ranges on register spill (#6651)
k0kubun Nov 1, 2022
70173a7
Ivar copy needs to happen _before_ setting the shape
tenderlove Nov 1, 2022
265a96b
Manage the timestamp for revision.h
nobu Nov 1, 2022
60f12c7
Fix infinite loop when out-of-place build
nobu Nov 2, 2022
ac06951
file2lastrev.rb: separate options for `Output` and `VPath`
nobu Nov 2, 2022
3475b66
file2lastrev.rb: try to overwrite the found revision.h as before
nobu Nov 2, 2022
8e2c70a
file2lastrev.rb: changed revision may be `nil` [ci skip]
nobu Nov 2, 2022
d9cf038
Update Regexp.timeout doc (#6658)
sampatbadhe Nov 2, 2022
875b7b3
[rubygems/rubygems] Bump rb-sys in /test/rubygems/test_gem_ext_cargo_…
dependabot[bot] Nov 1, 2022
4a8cd9e
Use shared flags of the type
peterzhu2118 Nov 2, 2022
946bb34
YJIT: Avoid accumulating freed pages in the payload (#6657)
k0kubun Nov 2, 2022
ee7c031
YJIT: don't show a full crash report if mmap is only out of memory (#…
noahgibbs Nov 2, 2022
81e84e0
YJIT: Support invokeblock (#6640)
k0kubun Nov 2, 2022
b777408
Fix crash in test runner on timeout
peterzhu2118 Nov 2, 2022
59a6caf
Run only daily schedule because CodeQL provides a lot of false-positi…
hsbt Nov 2, 2022
c24800f
[ruby/erb] Fix CI for JRuby
k0kubun Nov 3, 2022
f667d3a
[ruby/erb] Skip tests for truffleruby
k0kubun Nov 3, 2022
7b6c5f9
[ruby/erb] Skip a test for JRuby
k0kubun Nov 3, 2022
0468136
Make str_alloc_heap return a STR_NOEMBED string
peterzhu2118 Nov 2, 2022
68ef97d
YJIT: Stop incrementing write_pos if cb.has_dropped_bytes (#6664)
k0kubun Nov 3, 2022
c5d6a48
[ruby/irb] Refactor RubyLex and its tests
st0012 Nov 3, 2022
00f5596
[ruby/irb] Require the entire irb lib in RubyLex test
st0012 Nov 3, 2022
124f10f
YJIT: Fix a wrong type reference (#6661)
k0kubun Nov 3, 2022
611b5e7
[ruby/irb] Fix build_context for ruby/ruby CI
k0kubun Nov 3, 2022
ea77aa2
YJIT: Make Code GC metrics available for non-stats builds (#6665)
k0kubun Nov 3, 2022
01d7e15
YJIT: Show side_exit count in stats as well (#6666)
k0kubun Nov 3, 2022
56884b6
[ruby/irb] Require rubygems to run the test alone on ruby/ruby
k0kubun Nov 3, 2022
5344618
[DOC] Fix IO::Buffer#slice rdoc position
unasuke Nov 3, 2022
d24ac6d
Update configure command in building_ruby.md
peterzhu2118 Nov 3, 2022
a13836e
[ruby/irb] Allow non-identifier aliases like Pry's @ and $
k0kubun Nov 3, 2022
a923203
[ruby/irb] Provide a base test class and let tests restore encodings
st0012 Nov 3, 2022
1956fb9
Bump benchmark-driver version
k0kubun Nov 4, 2022
570dee1
sync_default_gems.rb: accept log input from other than STDIN
nobu Nov 4, 2022
b6d7e98
sync_default_gems.rb: fix the position to insert the original URL
nobu Nov 4, 2022
dc5d06e
[ruby/erb] Copy CGI.escapeHTML to ERB::Util.html_escape
k0kubun Nov 3, 2022
20efead
[ruby/erb] Optimize away to_s if it's already T_STRING
k0kubun Nov 4, 2022
ccf32a5
[ruby/erb] Do not allocate a new String if not needed
k0kubun Nov 4, 2022
2bb89b7
Lower priority of `POSIX_MADV_DONTNEED`. (#6671)
ioquatix Nov 4, 2022
7e3af23
sync_default_gems.rb: fix a typo [ci skip]
nobu Nov 4, 2022
cb18dee
Substitute from the actual netinet6/in6.h
nobu Nov 4, 2022
ed9d761
mkconfig.rb: take CPU name from arch flag
nobu Nov 4, 2022
b83074d
[ruby/irb] Suppress "switching inspect mode" messages
nobu Nov 4, 2022
76a6c5d
Remove unnecessary branch in `UnboundMethod#bind`
amomchilov Nov 3, 2022
93f364d
Use RTEST to to check return value
peterzhu2118 Nov 4, 2022
6b90910
Update dependencies
nobu Nov 4, 2022
6e4b97f
Increment max_iv_count on class in gc marking, not gc freeing
jemmaissroff Nov 4, 2022
1339575
Update dependencies for bc28acc347eace4d02bbb4b672655216f7dd3a81
nobu Nov 4, 2022
b169d78
[ruby/erb] Avoid using prepend + super for fallback
k0kubun Nov 4, 2022
367c072
[ruby/irb] Silent the noise created when building Context in tests
st0012 Nov 4, 2022
6d83590
Don't report changed ENV caused by Bundler
peterzhu2118 Nov 4, 2022
dd4ae9a
Auto-enable YJIT build when rustc >= 1.58.0 present (#6662)
maximecb Nov 4, 2022
f276d5a
Improve HTML escape benchmarks
k0kubun Nov 5, 2022
419d2fc
[ruby/erb] Optimize the no-escape case with strpbrk
k0kubun Nov 5, 2022
e8873e0
[ruby/erb] Use strpbrk only when str is long enough for SIMD
k0kubun Nov 5, 2022
458d6fb
[ruby/erb] Optimize away the rb_convert_type call using RB_TYPE_P
k0kubun Nov 5, 2022
9af344a
[ruby/erb] Revert the strpbrk optimization
k0kubun Nov 5, 2022
267452e
Sync TRICK 2018 (02-mame)
mame Nov 5, 2022
3a6cded
[wasm] Scan machine stack based on `ec->machine.stack_{start,end}`
kateinoigakukun Nov 5, 2022
10fd1d9
Should use the configured rustc consistently
nobu Nov 5, 2022
1454f8f
Add `--target` option to RUSTC when cross-compiling
nobu Nov 5, 2022
29abdc7
Merge branch 'master' into merge-from-upstream
chrisseaton Nov 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,5 @@ yjit_task:
full_build_script: source $HOME/.cargo/env && make
cargo_test_script: source $HOME/.cargo/env && cd yjit && cargo test
make_test_script: source $HOME/.cargo/env && make test RUN_OPTS="--yjit-call-threshold=1 --yjit-verify-ctx"
make_test_all_script: source $HOME/.cargo/env && make test-all RUN_OPTS="--yjit-call-threshold=1" TESTOPTS="$RUBY_TESTOPTS"
make_test_spec_script: source $HOME/.cargo/env && make test-spec RUN_OPTS="--yjit-call-threshold=1"
make_test_all_script: source $HOME/.cargo/env && make test-all RUN_OPTS="--yjit-call-threshold=1 --yjit-verify-ctx" TESTOPTS="$RUBY_TESTOPTS"
make_test_spec_script: source $HOME/.cargo/env && make test-spec RUN_OPTS="--yjit-call-threshold=1 --yjit-verify-ctx"
4 changes: 2 additions & 2 deletions .github/workflows/baseruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ jobs:
- run: make incs
- run: make all
- run: make test
- uses: k0kubun/action-slack@v2.0.0
- uses: ruby/action-slack@v3.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ github.workflow }} / BASERUBY @ ${{ matrix.ruby }}",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
"branch": "${{ github.ref_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ jobs:
- run: make all golf
- run: ruby tool/update-deps --fix
- run: git diff --no-ext-diff --ignore-submodules --exit-code
- uses: k0kubun/action-slack@v2.0.0
- uses: ruby/action-slack@v3.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ matrix.os }} / Dependencies need to update",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
"branch": "${{ github.ref_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check_misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ jobs:
GIT_COMMITTER_NAME: git
if: ${{ github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull') && steps.diff.outcome == 'failure' }}

- uses: k0kubun/action-slack@v2.0.0
- uses: ruby/action-slack@v3.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ github.workflow }}",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
"branch": "${{ github.ref_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/cirrus-notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
on:
check_suite:
type: ['completed']
name: Cirrus CI failure notification
jobs:
cirrus-notify:
name: After Cirrus CI Failure
if: >-
github.event.check_suite.app.name == 'Cirrus CI'
&& github.event.check_suite.conclusion != 'success'
&& github.event.check_suite.conclusion != 'cancelled'
&& github.event.check_suite.conclusion != 'skipped'
&& github.event.check_suite.head_branch == 'master'
runs-on: ubuntu-latest
steps:
- uses: octokit/[email protected]
id: get_failed_check_run
with:
route: GET /repos/${{ github.repository }}/check-suites/${{ github.event.check_suite.id }}/check-runs?status=completed
mediaType: '{"previews": ["antiope"]}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump check_runs
env:
CHECK_RUNS: ${{ steps.get_failed_check_run.outputs.data }}
run: echo "$CHECK_RUNS"
- uses: ruby/[email protected]
with:
payload: |
{
"ci": "Cirrus CI",
"env": "Cirrus CI",
"url": "${{ fromJson(steps.get_failed_check_run.outputs.data).check_runs[0].html_url }}",
"commit": "${{ github.event.check_suite.head_commit.id }}",
"branch": "${{ github.event.check_suite.head_branch }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
34 changes: 17 additions & 17 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: "Code scanning - action"

on:
push:
paths-ignore:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'
pull_request:
paths-ignore:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'
# push:
# paths-ignore:
# - 'doc/**'
# - '**.md'
# - '**.rdoc'
# - '**/.document'
# - '**.[1-8]'
# - '**.ronn'
# pull_request:
# paths-ignore:
# - 'doc/**'
# - '**.md'
# - '**.rdoc'
# - '**/.document'
# - '**.[1-8]'
# - '**.ronn'
schedule:
- cron: '0 12 * * 4'
- cron: '0 12 * * *'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/compilers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,15 +268,15 @@ jobs:
- run: make test-annocheck
if: ${{ matrix.entry.check && endsWith(matrix.entry.name, 'annocheck') }}

- uses: k0kubun/action-slack@v2.0.0
- uses: ruby/action-slack@v3.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ github.workflow }} / ${{ matrix.entry.name }}",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
"branch": "${{ github.ref_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ jobs:
PRECHECK_BUNDLED_GEMS: "no"
if: ${{ matrix.test_task == 'check' && matrix.skipped_tests != '' }}
continue-on-error: ${{ matrix.continue-on-skipped_tests || false }}
- uses: k0kubun/action-slack@v2.0.0
- uses: ruby/action-slack@v3.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ matrix.os }} / ${{ matrix.test_task }}${{ matrix.configure }}",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
"branch": "${{ github.ref_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
MSYSTEM: ${{ matrix.msystem }}
MSYS2_ARCH: x86_64
CHOST: "x86_64-w64-mingw32"
CFLAGS: "-march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong"
CFLAGS: "-march=x86-64 -mtune=generic -O3 -pipe"
CXXFLAGS: "-march=x86-64 -mtune=generic -O3 -pipe"
CPPFLAGS: "-D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048"
LDFLAGS: "-pipe -fstack-protector-strong"
LDFLAGS: "-pipe"
UPDATE_UNICODE: "UNICODE_FILES=. UNICODE_PROPERTY_FILES=. UNICODE_AUXILIARY_FILES=. UNICODE_EMOJI_FILES=."
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
strategy:
Expand Down Expand Up @@ -151,15 +151,15 @@ jobs:
make ${{ StartsWith(matrix.test_task, 'spec/') && matrix.test_task || 'test-spec' }}
if: ${{matrix.test_task == 'check' || matrix.test_task == 'test-spec' || StartsWith(matrix.test_task, 'spec/')}}

- uses: k0kubun/action-slack@v2.0.0
- uses: ruby/action-slack@v3.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ github.workflow }} ${{ matrix.msystem }} / ${{ matrix.test_task }}",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
"branch": "${{ github.ref_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mjit-bindgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ jobs:
- run: $SETARCH make ${{ matrix.task }}
- run: git diff --exit-code
working-directory: src
- uses: k0kubun/action-slack@v2.0.0
- uses: ruby/action-slack@v3.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ matrix.os }} / ${{ matrix.test_task }}${{ matrix.configure }}",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
"branch": "${{ github.ref_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mjit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ jobs:
ulimit -c unlimited
make -s test-spec RUN_OPTS="$RUN_OPTS"
timeout-minutes: 60
- uses: k0kubun/action-slack@v2.0.0
- uses: ruby/action-slack@v3.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ github.workflow }} / ${{ matrix.test_task }} ${{ matrix.jit_opts }}",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
"branch": "${{ github.ref_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
Expand Down
22 changes: 7 additions & 15 deletions .github/workflows/spec_guards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,13 @@ name: Rubyspec Version Guards Check

on:
push:
paths-ignore:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'
paths:
- 'spec/**'
- '!spec/*.md'
pull_request:
paths-ignore:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'
- 'spec/**'
- '!spec/*.md'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down Expand Up @@ -46,15 +38,15 @@ jobs:
working-directory: spec/ruby
env:
CHECK_LEAKS: true
- uses: k0kubun/action-slack@v2.0.0
- uses: ruby/action-slack@v3.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ github.workflow }} / rubyspec @ ${{ matrix.ruby }}",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
"branch": "${{ github.ref_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,15 @@ jobs:
TESTS: ${{ matrix.skipped_tests }}
if: ${{ matrix.test_task == 'check' && matrix.skipped_tests != '' }}
continue-on-error: ${{ matrix.continue-on-skipped_tests || false }}
- uses: k0kubun/action-slack@v2.0.0
- uses: ruby/action-slack@v3.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ github.workflow }} / ${{ matrix.test_task }} ${{ matrix.configure }}${{ matrix.arch }}",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
"branch": "${{ github.ref_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,15 @@ jobs:
env:
RUBY_TESTOPTS: -j${{env.TEST_JOBS}} --job-status=normal
timeout-minutes: 60
- uses: k0kubun/action-slack@v2.0.0
- uses: ruby/action-slack@v3.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "VS${{ matrix.vs }} / ${{ matrix.test_task || 'check' }}",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
"branch": "${{ github.ref_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/yjit-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- test_task: "check"
configure: "--enable-yjit=dev"
yjit_opts: "--yjit-call-threshold=1"
yjit_opts: "--yjit-call-threshold=1 --yjit-verify-ctx"

- test_task: "test-all TESTS=--repeat-count=2"
configure: "--enable-yjit=dev"
Expand Down Expand Up @@ -135,15 +135,15 @@ jobs:
BASE_REPO: ${{ github.event.pull_request.base.repo.full_name }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}
if: ${{ matrix.test_task == 'yjit-bench' && startsWith(github.event_name, 'pull') }}
- uses: k0kubun/action-slack@v2.0.0
- uses: ruby/action-slack@v3.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ github.workflow }} / ${{ matrix.test_task }} ${{ matrix.configure }}",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
"branch": "${{ github.ref_name }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
Expand Down
Loading