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
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
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
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
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
Nobuyoshi Nakada
826bbf9837
Split by `&&`
2019-10-25 02:24:00 +09:00
Nobuyoshi Nakada
967b924aa0
Expanded an environment variable
...
PowerShell does not expand by `%varname%` syntax.
2019-10-25 02:08:03 +09:00
Nobuyoshi Nakada
b86af95c5b
Get rid of control flow by cmd.exe
...
Github workflow stopped using cmd.exe suddenly, and `||` and `&&`
seem not working in PowerShell.
2019-10-25 02:04:14 +09:00
Kazuhiro NISHIYAMA
0b26f56a77
Remove unreachable step level `[ci skip]`
2019-10-10 16:48:26 +09:00
Kazuhiro NISHIYAMA
6f11c3b335
Check '[ci skip]' at job level
2019-10-09 17:46:05 +09:00
Takashi Kokubun
7cb19b3f5b
Roughly retry choco install commands
...
to deal with random failures:
https://github.com/ruby/ruby/runs/210617845
2019-09-03 21:03:11 +09:00
Takashi Kokubun
fd20b32130
Make GitHub Actions Slack notification consistent
...
with Travis, rather than AppVeyor.
Formerly it was made similar to AppVeyor to provide some normal set of
CI failure notification. But for some reason people preferred a shorter
variant and introduced a1d606c079
and
d8d8015b93
.
Instead of AppVeyor format, this commit chose Travis-like format to achieve
consistency and to include usual CI-failure information, while keeping
it one-liner for people who prefer short notifications.
Note that this shrinks the 40-char sha to 10-char, using the new feature
of k0kubun/action-slack@v2.0.0:
1c88a05dac
2019-08-22 23:10:55 +09:00
aycabta
d8d8015b93
Remove footer from message to Slack
2019-08-22 09:24:35 +09:00
aycabta
a1d606c079
Show short message to Slack
2019-08-22 07:57:12 +09:00
Takashi Kokubun
d10e28b875
Skip tests on Actions if [ci skip]
...
It seems that we cannot easily apply job-level [ci skip].
Therefore this commit skips only Tests step if it's [ci skip].
2019-08-20 23:58:37 +09:00
Takashi Kokubun
c100e3856a
Workaround errors on multi-line commit message
...
by using toJson with fields.
2019-08-19 03:40:34 +09:00
Takashi Kokubun
e139d27748
Make Slack notification available
...
for macOS / Windows as well.
Docker-based GitHub Action does not work on these OSes.
2019-08-19 03:14:19 +09:00
Takashi Kokubun
2f6c8ed26e
Implement Slack notification for Actions
2019-08-19 01:49:52 +09:00
Takashi Kokubun
e4c43207f9
Revert "Try notifying Slack from Actions"
...
This reverts commit d8807e8b1a
.
We'd need more features. Reverting to customize this later.
2019-08-18 23:32:49 +09:00
Takashi Kokubun
d8807e8b1a
Try notifying Slack from Actions
...
https://github.com/8398a7/action-slack
https://github.com/marketplace/actions/action-slack
2019-08-18 23:19:10 +09:00
Takashi Kokubun
045152df9e
Disable fail-fast of GitHub Actions
...
This is default: true
https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast
When `make check` fails, we do not want to cancel `make test-bundler`.
2019-08-17 09:43:06 +09:00
Takashi Kokubun
765d603153
Try to fix variable reference on Windows ( #2361 )
...
https://github.com/ruby/ruby/runs/192869165
2019-08-14 10:52:15 +09:00
Takashi Kokubun
8a687b8a4f
Stop using official actions/checkout
...
because it has been unstable, and also it sometimes does not work for a
pull request like:
https://github.com/ruby/ruby/pull/2358/checks?check_run_id=192685048#step:4:17
2019-08-14 10:22:25 +09:00
Takashi Kokubun
79f9c626b6
Use the official actions/checkout again ( #2357 )
...
because clone does not checkout exact commit sha, and also we'd need to handle
pull_request on fork, so I tentatively stopped to do this.
2019-08-13 23:36:31 +09:00
Hiroshi SHIBATA
188381053c
added --disable-install-doc to Windows workflow of GitHub Actions
...
Closes: https://github.com/ruby/ruby/pull/2346
2019-08-12 20:11:49 +09:00
Hiroshi SHIBATA
8d50bf40d9
Try to nmake test
2019-08-12 20:11:49 +09:00
Hiroshi SHIBATA
0fd0f74508
Try to merge windows 2016 and 2019
2019-08-12 20:11:49 +09:00