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

258 Коммитов

Автор SHA1 Сообщение Дата
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
Takashi Kokubun 8cd292f519
Directly refer to GitHub events
instead of unnecessarily defining env vars
2020-01-06 01:42:31 -08:00
Takashi Kokubun 8c9450e7b8
Remove code to prevent double build on trunk
trunk branch was deleted.
2019-12-31 22:03:21 -08:00
Takashi Kokubun eca964c24e
More consistent failure notifications
The format is the same as Travis / AppVeyor now.
2019-12-31 21:26:40 -08:00
Takashi Kokubun 47c84c74d4
Make test run condition consistent with other jobs
When `make all` fails, we should not run tests and output of such run is
confusing.
2019-12-31 15:29:40 -08:00
Takashi Kokubun 74cb414885
Run tests in the consistent order
`make check` runs test -> test-all -> test-spec, and other CIs follow that too.
2019-12-31 10:24:01 -08:00
Takashi Kokubun 52c228604b
Fix an outdated comment
We're actually using it for PR :p
2019-12-31 09:37:03 -08:00
MSP-Greg 860753eabb Actions MinGW - fix test-all (#2803) 2019-12-31 09:35:43 -08:00
Takashi Kokubun 139f0d90d9
Use actions/checkout for PR (#2804) 2019-12-31 09:34:29 -08:00
Takashi Kokubun 2e1fd4e2d7
Official actions/checkout is useless
It died again https://github.com/ruby/ruby/runs/368837347
2019-12-31 01:49:17 -08:00
Takashi Kokubun 38c35dd22d
Make Slack notifications consistent 2019-12-30 23:46:18 -08:00
Takashi Kokubun 8136fec6e4
There's no such target 2019-12-30 23:42:20 -08:00
Takashi Kokubun f98650e9f8
Make all Actions job names consistent
like "{platform} / make ({make target}, ...)"
2019-12-30 23:30:35 -08:00
Takashi Kokubun fe158e4c65
Do not doubly build on trunk 2019-12-30 23:23:25 -08:00
MSP-Greg eb2b425821 MinGW on Actions (#2791)
* MinGW - skip spec in spec/ruby/optional/capi/thread_spec.rb

C-API Thread function rb_thread_call_without_gvl
      -- runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO

stops/freezes spec tests

See https://bugs.ruby-lang.org/issues/16265

* MinGW - skip test test/resolv/test_dns.rb

Test times out in CI (both AppVeyor & Actions), cannot repo locally

* MinGW - skip test test/ruby/test_thread_queue.rb

* Add Actions mingw.yml
2019-12-30 23:19:31 -08:00
Takashi Kokubun 79c4202676
Revert "Remove TEST_BUNDLED_GEMS_ALLOW_FAILURES"
This reverts commit 75e8dd58f6.

We seem to randomly hit another issue these days:
https://github.com/ruby/ruby/runs/368756135
https://github.com/ruby/ruby/runs/368756191
2019-12-30 23:09:24 -08:00
Hiroshi SHIBATA 03c504ac59
Commented-out btest on cygwin environment of GitHub Actions 2019-12-25 09:38:12 +09:00
Kazuhiro NISHIYAMA 26774351dc
Ignore error of `apt-get update` in MJIT workflow too 2019-12-13 18:06:36 +09:00
Kazuhiro NISHIYAMA d5c73681f8
Ignore error of `apt-get update` on GitHub Actions 2019-12-13 18:04:21 +09:00
Kazuhiro NISHIYAMA 7fa821a80d
Try to use `set-output`
because commit info are not necessary in env.
2019-12-11 14:03:30 +09:00
Kazuhiro NISHIYAMA 35adc47e7e
Create dummy files when check only
because foo.rb in build directory breaks test-bundler
https://github.com/ruby/ruby/runs/343168046#step:20:125
2019-12-11 13:08:21 +09:00
Kazuhiro NISHIYAMA 4f5dc15b04 Create more dummy files in build directory 2019-12-11 12:35:51 +09:00
Kazuhiro NISHIYAMA 1ed0212bcf Do not load files in build directory
related https://bugs.ruby-lang.org/issues/16177
2019-12-11 12:35:51 +09:00
Yusuke Endoh c596e01a49 Move SECURITY.md into .github/ to reduce the files on the top directory 2019-12-10 18:05:51 +09:00
Nobuyoshi Nakada 129c3216d9
[cygwin] Removed unnecessary packages 2019-12-10 12:35:57 +09:00
Nobuyoshi Nakada cd35c09540
[cygwin] Removed unnecessary `-c` options 2019-12-10 12:35:44 +09:00
Kazuhiro NISHIYAMA a5e6a50cb8 Add cache of cygwin packages 2019-12-09 16:08:12 +09:00
Kazuhiro NISHIYAMA ea8f03e86c Remove unused branch name 2019-12-09 16:08:12 +09:00
Kazuhiro NISHIYAMA 801eafcc14 Split cygwin-chocolatey cache 2019-12-09 16:08:12 +09:00
Kazuhiro NISHIYAMA c19e62ddc9 Remove debug print 2019-12-09 16:08:12 +09:00
Nobuyoshi Nakada 963b84a51b Separate steps 2019-12-09 00:12:45 +09:00
Nobuyoshi Nakada 5e65e65bd9 Set PATH at once 2019-12-09 00:12:45 +09:00
Nobuyoshi Nakada d00349f994 Fixed the checking out source 2019-12-09 00:12:45 +09:00
Daisuke Fujimura (fd0) 689e744855 Add .github/workflows/cygwin.yml 2019-12-09 00:12:45 +09:00
Kazuhiro NISHIYAMA c064018a75 Make extract-gems only if test_task is check 2019-11-30 16:44:52 +09:00
Kazuhiro NISHIYAMA bb3542cc6b Add update-gems before extract-gems
(windows.yml used `nmake up`)
2019-11-30 16:44:52 +09:00
Kazuhiro NISHIYAMA 2eb4afb10b Add extract-gems to GitHub Actions CI 2019-11-30 16:44:52 +09:00
Kazuhiro NISHIYAMA 416cccc6ec Drop windows-2016 on GitHub Actions
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/software-installed-on-github-hosted-runners#windows-server-2016
> Note: The Windows Server 2016 virtual environment will be removed on December 3, 2019.
2019-11-27 12:32:42 -08:00
Kazuhiro NISHIYAMA 5a6e3e7552
Add `--with-openssl-dir` to windows on GitHub Actions
7bd7a013b1/checks?check_suite_id=328682567#step:10:1634
```
*** Following extensions are not compiled:
openssl:
	Could not be configured. It will not be installed.
"	d:/a/ruby/ruby/src/ext/openssl/extconf.rb:97: OpenSSL library could not be found. You might want to use --with-openssl-dir=<dir> option to specify the prefix where OpenSSL is installed."
```
2019-11-26 16:19:18 +09:00
Takashi Kokubun 818708edab
Stop using undefined matrix.os for macOS
and use github.workflow instead. Applied a similar change to MJIT too.
2019-11-22 14:22:34 -08:00
Kazuhiro NISHIYAMA 75e8dd58f6
Remove TEST_BUNDLED_GEMS_ALLOW_FAILURES
https://github.com/seattlerb/minitest/pull/798 is closed
2019-11-19 13:06:40 +09:00
Takashi Kokubun afc93e96ff
Make GitHub Actions notification more like Travis
Build's sequential number is a link in Travis, and also YYYY-MM-DD-XX is
a little hard to parse.
2019-11-13 09:31:03 -08:00
Kazuhiro NISHIYAMA 7f2c98b11d Use shallow-since instead of depth
commit number of today requires log since 0:00 UTC.
So commits of 24 hours are enough.

https://www.git-scm.com/docs/git-clone#Documentation/git-clone.txt---depthltdepthgt
> Implies --single-branch unless --no-single-branch is given to fetch the histories near the tips of all branches.

So I add `--single-branch` too.
2019-11-13 20:21:09 +09:00
Kazuhiro NISHIYAMA 990728170c Add commit number of today to notification of mjit CI too 2019-11-13 20:18:46 +09:00
Takashi Kokubun bdf71a3ef0
Fix MJIT test's Slack notification 2019-11-12 23:04:25 -08:00
Takashi Kokubun 331655cbe7
Migrate Wercker MJIT tests to Actions (#2676)
* Migrate Wercker MJIT tests to Actions

* Support pull request for testing

* Capitalize other jobs too

* Make it a command name for consistency [ci skip]

* Remove wercker.yml

* Add --jit-verbose=2 for debugging

* Install MJIT headers

* Separate install for sudo

* Trigger build
2019-11-12 21:48:05 -08:00
Kazuhiro NISHIYAMA c4064aef7f Add commit number of today to notification of GitHub Actions 2019-11-13 14:25:30 +09:00
Takashi Kokubun 245977b286
Stop debugging the same thing twice
See L25-28
2019-11-12 20:57:07 -08:00
Takashi Kokubun 9ee88a070f
Remove MSPECOPT formerly for debugging
At least the comment looks obsoleted. Aren't we using $JOBS already?
2019-11-12 20:56:16 -08:00
Takashi Kokubun 02b6451c17
Improve Actions job name shown on toolip
Hoping to make it like `make (check, ...)`, `make (test-bundler, ...)`
instead of `latest (...)` because some of the jobs are already not
running on a latest platform.
2019-11-12 20:44:01 -08:00
Takashi Kokubun 3118c7a2d2
Run test-bundler / test-bundled-gems for Ubuntu
only once. Doing it on multiple Ubuntu versions may not worth it.
2019-11-12 20:39:45 -08:00
Kazuhiro NISHIYAMA 3ad78264dc
Use style of set-env
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/development-tools-for-github-actions#set-an-environment-variable-set-env
2019-11-13 13:13:52 +09:00
Kazuhiro NISHIYAMA b41a19f92f
Add matrix.os to cache key (#2671)
* Add matrix.os to cache key
* Use multi-line string instead of array
  ref https://github.com/actions/cache/issues/44
2019-11-12 17:22:19 +09:00
Kazuhiro NISHIYAMA 593f0b8853 Try to use actions/cache on windows 2019-11-12 12:05:10 +09:00
Nobuyoshi Nakada 1390d56ecf
Set $JOBS to Tests for parallel tests 2019-11-05 10:28:44 +09:00
Nobuyoshi Nakada c0c9a00f83 Simplify test tasks
Removed `if` conditions separating `test-bundled-gems`, and pass
`TESTOPTS` and `TEST_BUNDLED_GEMS_ALLOW_FAILURES` via `env`.
2019-11-05 02:12:26 +09:00
Nobuyoshi Nakada 6e0b40af3d Try out-of-place build 2019-10-28 22:05:57 +09:00
Kazuhiro NISHIYAMA 3e83f1f00a Add more matrix info to slack payload 2019-10-28 16:53:02 +09:00
Kazuhiro NISHIYAMA 85d966af21 Add ubuntu-16.04 to matrix of GitHub Actions 2019-10-27 20:19:04 +09:00
Kazuhiro NISHIYAMA a7ec88ad61
Add `shell: cmd`
Use cmd instead of new default shell for `call`.
https://github.blog/changelog/2019-10-17-github-actions-default-shell-on-windows-runners-is-changing-to-powershell/

7bcc639c72/checks (step):6:5
```
call : The term 'call' is not recognized as the name of a cmdlet, function, script file, or operable program.
```
2019-10-25 10:45:46 +09:00
Nobuyoshi Nakada 5040eea959
Do not show progress at chocolatey 2019-10-25 08:54:33 +09:00
Nobuyoshi Nakada b7c8874b62
Install openssl with chocolatey
OpenSSL in chocolatey is 1.1.1d but outdated 1.0.2s is in vcpkg.
2019-10-25 02:31:21 +09:00