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

132 Коммитов

Автор SHA1 Сообщение Дата
MSP-Greg 49cc7709cb [Actions] mingw - use ruby/setup-ruby@v1 again 2022-01-15 08:59:14 +09:00
Nobuyoshi Nakada f75e871e4f
Try previous ruby-setup-ruby
The commits between db14f2dde9ceeaa8acbcd31884475a7ce97ae9d3 and
11cc84264a91d42bc873f39d70678e44042322d2 seems breaking
OpenSSL::TestConfig#test_s_parse_include.
2022-01-15 00:19:46 +09:00
Nobuyoshi Nakada c54eac6613
Show tool versions 2022-01-15 00:15:23 +09:00
Nobuyoshi Nakada bab8623343
The `include`d set should be expanded values [ci skip]
While the `matrix` level values are expanded from the production
of each arrays, `include`d set should be consist from expanded
single values.
2021-12-28 19:29:47 +09:00
Takashi Kokubun 63358581bc
Fix weird MinGW failure notifications
It's been "MinGW / Array", but it will be "MinGW MINGW64 / check" or
"MinGW UCRT64 / check" by this.
2021-12-27 23:35:13 -08:00
Nobuyoshi Nakada 922a81a994
Skip tests on pull requests labeled as Documentation 2021-12-18 13:06:15 +09:00
Nobuyoshi Nakada 5bf0060e0a
[DOC] Skip tests if only documents change [ci skip]
Run only checks for source code.  Currently, our CIs do almost
nothing about the documents.
2021-12-16 17:50:20 +09:00
Nobuyoshi Nakada 3f1dcd7fff
Cache downloaded files
Cache downloaded external libraries/gems, which are expected not
changed so frequently.

Also sometimes downloading from zlib returns the current time as
the date header in unexpected format, and checksums mismatch at
that time.
2021-12-02 22:21:20 +09:00
MSP-Greg 7d55f1b6b6 [Actions] use windows-2022 for mingw
MSP-Greg/ruby-setup-ruby@win-ucrt-1
2021-11-24 23:04:54 +09:00
Nobuyoshi Nakada 784f1e1538
Throttle pull-requests only [ci skip] 2021-11-21 19:23:36 +09:00
Nobuyoshi Nakada e2b78440ba
Throttle GitHub Actions [ci skip]
As GitHub Actions are choking a lot lately, throttle the checks
down to the latest commit only per branches.
2021-11-18 22:54:57 +09:00
Nobuyoshi Nakada e0a5c3d2b7
[MinGW] Set job names 2021-11-07 20:46:26 +09:00
Nobuyoshi Nakada 8dc2fce2be
[MinGW] Highlight where groups 2021-11-07 20:46:26 +09:00
Nobuyoshi Nakada 7068255b0c
[MinGW] Run in sh 2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada acd82cc31a
[MinGW] Run test-spec 2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada 5ebda74ae1
[MinGW] Pass -j option via environment variables 2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada 6295e348a9
[MinGW] Clear BUNDLER_VERSION unconditinally 2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada dc4dd96b02
[MinGW] Remove unnecessary encoding settings 2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada 8acb2a9b40
[MinGW] Use autogen 2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada ec032e86fa
[MinGW] Clear prefix and move the directory to DESTDIR
Also the destination will be created at the installation.
2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada 5eb54c495f [MinGW] Set job env vars at once 2021-11-07 20:39:16 +09:00
Nobuyoshi Nakada 96648c5093
Mitigate the timeout of tests [ci skip]
* The worker timeouts seem working for test-all.
* The bundled gems have increased.
2021-10-29 10:32:52 +09:00
Nobuyoshi Nakada 0a9cbe8562
Skip tests if only document files changed 2021-10-29 00:22:26 +09:00
Nobuyoshi Nakada e25ad5475c
Shorten timeouts on macOS and MinGW
From recent results, `check` and `test-all` will finish within 10
 minutes on macOS or 30 minutes on MinGW, otherwise time out.
2021-10-04 12:16:31 +09:00
Lars Kanis 52cc54ce6f CI: Enable MINGW-UCRT build and test in github actions
This enables a temporary branch on ruby/setup-ruby and MSP-Greg/setup-ruby-pkgs for UCRT-capable action setup.
They set correct PATH and MINGW_PACKAGE_PREFIX for UCRT, if a UCRT based ruby is used.
See here for more details: https://github.com/ruby/setup-ruby/issues/193
To enable correct UCRT settings this therefore uses rubyinstaller-head as base ruby, since it is already UCRT based.
2021-09-20 00:15:30 +09:00
Hiroshi SHIBATA 8b466ea5fc Use `${{}}` for if statement 2021-08-02 12:39:50 +09:00
Jeremy Evans e8933fda0c Remove gdbm/dbm related code from CI
The related extensions have been removed.
2021-07-01 14:47:31 -07:00
Nobuyoshi Nakada 602d09a181
Suppress useless default branch name hint [ci skip] 2021-03-08 13:39:55 +09:00
Benoit Daloze 8305a48413 Add --timeout to try to find hanging spec 2021-02-27 17:42:17 +01:00
Takashi Kokubun b956efdc1e
Drop obsoleted ci skip checks
https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
2021-02-22 23:46:12 -08:00
Nobuyoshi Nakada 5a33ef0586
Set git config in global instead of system 2021-02-02 14:37:15 +09:00
Nobuyoshi Nakada b73d256f34
Check leaked global symbols under more various conditions 2020-12-27 15:50:02 +09: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
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
卜部昌平 da25affdac .github: reduce copy&paste
Found that we can set default working directory for github actions.
2020-10-21 09:24:47 +09:00
Kazuhiro NISHIYAMA f9df340a6a Remove unused commit_info 2020-10-06 11:41:17 +09:00
Samuel Williams b22b3f03f4 Increase timeout for GitHub Actions. 2020-09-06 22:11:49 +12: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
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
Nobuyoshi Nakada e38a2ecffd
Run tests in more parallel 2020-06-06 00:35: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
卜部昌平 b16acf8baa .github: use actions/checkout@v2 again 2020-05-12 17:15:22 +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
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
卜部昌平 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
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 8474e6ae1f Use github.run_id in notification payload URL 2020-02-10 16:49:16 +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