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

319 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 197550c956
Renamed check_encoding.yml as check_misc.yml [ci skip] 2020-12-19 16:38:16 +09:00
Takashi Kokubun f0ec923c58
Remove --jit-save-temps from MJIT
It's probably not helping the backtrace.
2020-12-17 21:36:26 -08:00
Nobuyoshi Nakada 4fe7f270ce
Different names instead of `ulimit` 2020-12-16 17:39:40 +09:00
Kazuhiro NISHIYAMA 6e84af2fa9
`ulimit` does not affect another shell 2020-12-13 20:26:22 +09:00
Takashi Kokubun 1b45174aea
Allow dumping a core file on Actions
to see a C backtrace.
2020-12-12 18:47:50 -08:00
Takashi Kokubun e53c0bc906
Add some JIT options to MJIT Actions
hoping to improve C backtrace outputs
2020-12-11 22:52:19 -08:00
Takashi Kokubun 97868f16ff
Reintroduce the fix again 2020-12-10 13:00:02 -08:00
Takashi Kokubun 4474aadae8
Fix the path properly
😞
2020-12-10 11:48:57 -08:00
Takashi Kokubun f56ab7a476
Try fixing the -I position
https://github.com/ruby/ruby/runs/1532260149
🤔
2020-12-10 11:18:30 -08:00
MSP-Greg 4a559aa225
Actions mingw - add tool/test for WEBrick in spec tests (#3882)
Some spec tests require WEBrick, and the spec tests are run from install with the MinGW CI.
2020-12-10 09:27:02 -08:00
卜部昌平 46d3ea2c25
.github: reduce (#3876)
Comment out some 50-ish tests.
fix https://bugs.ruby-lang.org/issues/17376
2020-12-10 17:41:39 +09:00
MSP-Greg 41fafd9dd2
Remove BUNLDER_VERSION in Windows (#3859)
[Bug #17372]
2020-12-07 14:47:42 -08:00
Takashi Kokubun 2580093d5d
Pass the flag as $TESTOPTS
Fixing the failure of a4f292426b like
https://github.com/ruby/ruby/runs/1513663542
2020-12-07 14:21:21 -08:00
NARUSE, Yui a4f292426b skip failing tests in test-all on mingw
https://bugs.ruby-lang.org/issues/17372
2020-12-08 05:45:22 +09:00
Takashi Kokubun 95edb3ec10
Increase timeout for MJIT Actions
It's too short for --jit-wait
https://github.com/ruby/ruby/runs/1466690076?check_suite_focus=true
2020-11-28 00:17:56 -08:00
Nobuyoshi Nakada b958e2add8 Removed canonicalization for mathn 2020-11-10 11:14:15 +09:00
卜部昌平 8eca97c049 .github/workflows/baseruby.yml: add
Translate a part of .travis.yml into a Github Actions workflow.
2020-11-04 12:11:13 +09:00
Nobuyoshi Nakada acdb893338
Removed unused environment variable 2020-10-27 14:42:24 +09:00
Benoit Daloze 71f699543b Tweaks for the ruby/spec workflow 2020-10-24 15:51:18 +02:00
卜部昌平 7cf34cfaa3 .github/workflows/spec_guards.yml add
Translate a part of .travis.yml into GitHub Actions workflow.
2020-10-23 10:38:34 +09:00
Nobuyoshi Nakada 640b340583
Check dependencies on macOS too 2020-10-21 12:31:38 +09:00
卜部昌平 da25affdac .github: reduce copy&paste
Found that we can set default working directory for github actions.
2020-10-21 09:24:47 +09:00
Nobuyoshi Nakada a75ab110df
Use %VCVARS% 2020-10-13 14:16:29 +09:00
Kazuhiro NISHIYAMA 45fd4436ee Use $GITHUB_ENV instead of set-env
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-10-06 11:41:17 +09:00
Kazuhiro NISHIYAMA f9df340a6a Remove unused commit_info 2020-10-06 11:41:17 +09:00
Kazuhiro NISHIYAMA 9a951c0931
Remove outdated comment [ci skip] 2020-09-27 14:26:38 +09:00
Kazuhiro NISHIYAMA cd44febc93 Add check_dependencies workflow 2020-09-25 19:21:36 +09:00
卜部昌平 19917d45a3 .github: try GitHub Container Registry
It is natural for a CI running on GitHub to use GitHub's facility.

See also https://github.blog/2020-09-01-introducing-github-container-registry/
2020-09-07 19:02:45 +09:00
Samuel Williams b22b3f03f4 Increase timeout for GitHub Actions. 2020-09-06 22:11:49 +12:00
Koichi Sasada a137874e67 add RUBY_DEBUG=ci envval for GH actions
RUBY_DEBUG=ci envval shows more information on rb_bug().
2020-09-01 06:14:35 +09:00
Nobuyoshi Nakada fbf79f1c11
Use the previous winflexbison3
winflexbison3 v2.5.23.20200829 seems to install nothing.
2020-09-01 14:42:19 +09:00
Hiroshi SHIBATA cceba23515 minitest is working fine with Ruby 3 2020-09-01 11:21:41 +09:00
Hiroshi SHIBATA e00eba1ce2 xmlrpc has been removed from the bundled gems 2020-09-01 11:21:41 +09:00
Hiroshi SHIBATA 377159370b Revert the workaround of minitest and hoe
86737c509c
  3e1aea4613
2020-09-01 11:21:41 +09:00
Hiroshi SHIBATA 86737c509c Removed minitest and hoe because they didn't support Ruby 3 yet 2020-08-31 18:51:59 +09:00
卜部昌平 2c4c088aa3 .github/workflows/compilers.yml: more compilers
Added some cross compilers that we can run on GitHub Workflow runner
environments.  Because they are cross compilers we cannot run the
generated binary.  The added matrix are compile-only.
2020-08-23 21:45:46 +09:00
卜部昌平 ef2b785b2d .github/workflows/compilers.yml: clang-12
LLVM made release/11.x branch.  Its master is now version 12.
2020-08-11 16:51:07 +09:00
Nobuyoshi Nakada 17d869c7d6
Check if C-sources are US-ASCII
Encoding of C-sources can not be determined, and non-ASCII code
are often warned by localized compilers.
2020-08-10 19:46:13 +09:00
Hiroshi SHIBATA 8a99f820ce
Use zlib provided by vcpkg in mswin CI (#3397)
* Revert "mswin build - install src zlib files after checkout"

This reverts commit b6175c9e4f.

* Revert "mswin build - install src zlib files"

This reverts commit bf758ef8b4.
2020-08-07 12:28:39 +09:00
Nobuyoshi Nakada b6175c9e4f
mswin build - install src zlib files after checkout
actions/checkout deletes the contents of the source directory.
2020-08-01 19:02:41 +09:00
MSP-Greg bf758ef8b4 mswin build - install src zlib files 2020-08-01 19:01:45 +09:00
Nobuyoshi Nakada 32bec658c1
Remove obsolete rubygems file
Fixes a weird error in CodeQL autobuild.
2020-08-01 14:44:47 +09:00
Nobuyoshi Nakada d210a39774
Fixed a typo 2020-07-26 21:24:07 +09:00
Samuel Williams a3ac1bf450 Add more timeouts to macos, mjit, ubuntu and windows workflows. 2020-07-20 10:58:57 +12:00
Sora Morimoto 48ba9b6106 Update actions/cache from v1 to v2
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2020-07-15 15:57:16 +09:00
Takashi Kokubun 46d1777a43
Remove --jit-min-calls for now
--jit-min-calls=5 is too unstable
2020-07-13 10:06:34 -07:00
Takashi Kokubun d99d96cc6d
Add --jit-min-calls=5 (#3313)
* RUN_OPTS needs to be specified for overriding it

* Add --jit-min-calls=5
2020-07-12 22:10:57 -07:00
Koichi Sasada 8655c2e690
RUBY_DEBUG_LOG: Logging debug information mechanism (#3279)
* RUBY_DEBUG_LOG: Logging debug information mechanism

This feature provides a mechanism to store logging information
to a file, stderr or memory space with simple macros.

The following information will be stored.
  * (1) __FILE__, __LINE__ in C
  * (2) __FILE__, __LINE__ in Ruby
  * (3) __func__ in C (message title)
  * (4) given string with sprintf format
  * (5) Thread number (if multiple threads are running)

This feature is enabled only USE_RUBY_DEBUG_LOG is enabled.
Release version should not enable it.

Running with the `RUBY_DEBUG_LOG` environment variable enables
this feature.

  # logging into a file
  RUBY_DEBUG_LOG=/path/to/file STDERR

  # logging into STDERR
  RUBY_DEBUG_LOG=stderr

  # logging into memory space (check with a debugger)
  # It will help if the timing is important.
  RUBY_DEBUG_LOG=mem

RUBY_DEBUG_LOG_FILTER environment variable can specify the fileter string.
If "(3) __func__ in C (message title)" contains the specified string, the
infomation will be stored (example: RUBY_DEBUG_LOG_FILTER=str will enable
only on str related information).

In a MRI source code, you can use the following macros:
  * RUBY_DEBUG_LOG(fmt, ...): Above (1) to (4) will be logged.
  * RUBY_DEBUG_LOG2(file, line, fmt, ...):
    Same as RUBY_DEBUG_LOG(), but (1) will be replaced with given file, line.
2020-07-03 16:55:54 +09:00
Hiroshi SHIBATA 01776ca1c0 Ignore conftest.c under the ext directories for CodeQL analysis 2020-07-03 15:16:55 +09:00
Takashi Kokubun e0037997d9
Include workflow name in a notification of Compilations 2020-06-23 23:56:02 -07:00
Nobuyoshi Nakada d9c8804045
Update without touch-unicode-files 2020-06-16 12:29:02 +09:00
Nobuyoshi Nakada 466d3e68da
Just update sources in CI without fetching
Also install external libraries only, extract-gems does not work
unless base ruby is available.
2020-06-16 12:15:55 +09:00
Kazuhiro NISHIYAMA 454e8120db Add ubuntu-20.04 and rename to ubuntu-18.04 from ubuntu-latest 2020-06-14 14:00:37 +09:00
Nobuyoshi Nakada 9491bd89da
Reduced job number to run tests on MinGW
It seems too heavy as fails more often than before.
2020-06-10 06:32:36 +09:00
Hiroshi SHIBATA 366646c15e
Added CodeQL scanning by GitHub (#3196)
Added configuration for CodeQL scanning by GitHub
2020-06-09 13:12:10 +09:00
卜部昌平 adfd4f3916 .github: add test for -DMJIT_FORCE_ENABLE 2020-06-09 12:37:36 +09:00
Nobuyoshi Nakada e38a2ecffd
Run tests in more parallel 2020-06-06 00:35:45 +09:00
Nobuyoshi Nakada 53c0737ae4
Try test-bundler-parallel in GitHub Actions 2020-06-05 21:39:45 +09:00
Nobuyoshi Nakada 047471c529
No GITPULLOPTIONS by default
To honor the environment variable, keep GITPULLOPTIONS unset by
default, and appended the option to VCSUP.
2020-06-04 13:16:24 +09:00
Nobuyoshi Nakada 923e02a6a1
No one reads the detached head advice 2020-06-04 09:09:51 +09:00
Nobuyoshi Nakada f6acbf7679
Fetch no tags
Fetched tags by `make up` are not used, in CI environments.
2020-06-04 09:09:51 +09:00
Nobuyoshi Nakada 1ce40e3b29
Removed fetch-depth
Only the last commit is used, unless creating the ChangeLog file.
2020-06-04 09:09:51 +09:00
Nobuyoshi Nakada b8fadf3a6b
Respect BIGNUM_DEBUG defined by command line option
And fixed typo in compilers.yml.
2020-05-29 02:43:30 +09:00
Koichi Sasada eb20d2f449 include debug option in slack notification 2020-05-26 23:20:36 +09:00
Koichi Sasada a809caa4b3 remove duplication. 2020-05-26 23:10:35 +09:00
Koichi Sasada 68e987c315
GH actions with RUBY_DEBUG (#3144)
Add GH actions with -DRUBY_DEBUG
2020-05-26 23:04:10 +09:00
卜部昌平 b16acf8baa .github: use actions/checkout@v2 again 2020-05-12 17:15:22 +09:00
卜部昌平 889b0fe46f .github/workflows/compilers.yml: GCC 10.1 released 2020-05-09 22:24:57 +09:00
Nobuyoshi Nakada 21598b0cc2
Fixed a typo [ci skip] 2020-04-24 23:24:19 +09:00
Kazuhiro NISHIYAMA 6292271ef7
Fix permission of PATH
https://github.com/ruby/actions/runs/608526685?check_suite_focus=true
`warning: Insecure world writable dir /home/runner/.config in PATH, mode 040777`
2020-04-23 01:40:24 +09:00
Yusuke Endoh ad63ae6619 .github/workflows/mingw.yml: add `shell: bash` for PR checkout
as well as e62aead269
2020-04-22 02:43:07 +09:00
MSP-Greg c0b9326749
Update workflows/mingw.yml - use setup-ruby-pkgs (#3042)
MSP-Greg/actions-ruby is deprecated...
2020-04-18 17:35:19 -07:00
卜部昌平 9e6e39c351
Merge pull request #2991 from shyouhei/ruby.h
Split ruby.h
2020-04-08 13:28:13 +09:00
Nobuyoshi Nakada df275179bd
Revert "Moved aclocal.m4 to macro directory"
This reverts commit 4a6571dbc1,
because chkbuild does not follow.
2020-04-05 11:53:07 +09:00
Nobuyoshi Nakada 4a6571dbc1 Moved aclocal.m4 to macro directory 2020-04-05 09:26:57 +09:00
Nobuyoshi Nakada a64b77f163
.github/workflows/mingw.yml: Turn off verbose mode [ci skip]
Too much, no longer needed output.
2020-04-04 11:24:18 +09:00
Kazuhiro NISHIYAMA 7a2177ea50 Use `--depth` on pull request
`--shallow-since=yesterday` for COMMIT_NUMBER_OF_DAY of `tool/actions-commit-info.sh`.
COMMIT_NUMBER_OF_DAY is mainly for master branch.
And `--shallow-since=yesterday` may fail on pull request.
So this revert to `--depth` on pull request.
2020-03-30 18:47:41 +09:00
Nobuyoshi Nakada f432b5e5cd
Fixed relative paths for test-spec 2020-03-28 23:31:32 +09:00
Kazuhiro NISHIYAMA 930b012ad9
Add rexml to fix rss of test-bundled-gems (#2976) 2020-03-24 15:36:53 +09:00
David Rodríguez 956e220ae2 Use new `prepare-gems` target when possible 2020-03-14 18:16:47 +09:00
Takashi Kokubun 4015f27a4d
Drop direct Slack notification from CIs
All Slack alerts have been migrated to a bot made by mame-san
2020-03-09 22:39:19 -07:00
Takashi Kokubun f9f3510e64
Hook an experimental alert from Actions 2020-03-07 00:34:41 -08:00
卜部昌平 0711ceeb37 .github/workflows: name the configure runs
Explicit `name:` entry was requested by @nobu.
2020-03-02 14:53:05 +09:00
卜部昌平 2bfa1025a9 .github: let "make leaked-globals" run in parallel
This target can be a build matrix.  Also it does not make sense to test
it on mjit.
2020-03-02 14:53:05 +09:00
卜部昌平 888e736524 .github: make use of working-directory
One can specify working directory of a step, no by `cd foo` inside of
the run. See also
https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun
2020-03-02 14:53:05 +09:00
卜部昌平 e06ad731f0 .github: less verbose on: specifier
The `branch:` specifier was necessary before, to prevent double-testing
master and trunk.  Now that we no longer have trunk, we can slim the
expressions.

See also: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#on
2020-03-02 14:53:05 +09:00
卜部昌平 bdf2d91326 .travis.yml, .github: delete environmental dumps
They were necessary when developing YAMLs, but not useful any longer.
2020-03-02 14:53:05 +09:00
Kazuhiro NISHIYAMA 57c26231dd
Use `brew upgrade` instead of `brew update` 2020-02-20 00:13:44 +09:00
Hiroshi SHIBATA 1df2c8cefb
Revert "MinGW - rename OpenSSL dll's in system32 directory"
This reverts commit 95c58d33cc.
2020-02-14 19:57:07 +09:00
MSP-Greg 95c58d33cc MinGW - rename OpenSSL dll's in system32 directory 2020-02-14 19:39:30 +09:00
Kazuhiro NISHIYAMA aeddffafc8 Add "test-all TESTS=--repeat-count=2" to test_task 2020-02-13 13:54:24 +09:00
Kazuhiro NISHIYAMA 8474e6ae1f Use github.run_id in notification payload URL 2020-02-10 16:49:16 +09:00
Nobuyoshi Nakada edf2cedc9c
Allow rexml to fail on macOS of Github Actions
And revert "Stop test-bundled-gems on macOS for now",
28b290f7f4.
2020-01-19 11:56:39 +09:00
Nobuyoshi Nakada 28b290f7f4
Stop test-bundled-gems on macOS for now 2020-01-19 09:48:33 +09:00
Yusuke Endoh 3344f81107 .github/workflows/cygwin.yml: Removed
There is no active maintainer for cygwin.  The CI failure is too noisy.

[Misc #16407]
2020-01-17 17:25:05 +09:00
Nobuyoshi Nakada c9b1969fa3
Checkout with git on cygwin for EOL code
`shell: bash` runs bash on msys which prefers git on msys too,
then checked out in CRLF mode.  Cygwin sed doesn't consider the CR
a part of EOL code, though.
2020-01-13 10:31:53 +09:00
Hiroshi SHIBATA ca6546704a Allow failures with rss tests on test-bundled-gems 2020-01-12 12:28:29 +09:00
Kazuhiro NISHIYAMA e62aead269
Add branch option to checkout on push 2020-01-11 16:24:16 +09:00
Takashi Kokubun e44e3716d0
Slightly change the job wording [ci skip]
mame-san said it's weird
2020-01-06 01:52:20 -08:00
Takashi Kokubun e3aca28970
Support running Actions on a fork
Since 8c9450e7b8, we increased the chance
to run GitHub Actions on a fork, as we usually use a topic branch
instead of master when filing a pull request.

This patch makes it possible to reuse the same GitHub Actions config on
a fork repository.
2020-01-06 01:45:52 -08:00