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

137 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada af80df1820
Keep patched zlib files 2020-11-26 09:37:38 +09:00
Takashi Kokubun 26e3aea94f
Overwrite all existing files when extracting zlib
To prevent CI failure like
https://ci.appveyor.com/project/ruby/ruby/builds/36494552/job/a3ow8atl19786tep
2020-11-24 19:26:42 -08: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
S.H 0d5db77116
Fix AppVeyor pull request CI (#2983) 2020-03-26 10:14:23 -07:00
S-H-GAMELINKS 34d881cba2 Fix AppVeyor CI sometimes fail 2020-03-25 23:32:49 +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 65aa68b009
Hook an experimental alert from AppVeyor 2020-03-06 23:46:55 -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 ab9f56b615
Do not notify AppVeyor on_build_status_changed
Similar to 4fb6643f31.
This is motivated by the lack of the same feature in GitHub Actions.
2019-12-31 15:59:02 -08:00
Takashi Kokubun b00418732c
Drop MinGW build from AppVeyor
in favor of #2791
2019-12-30 23:20:18 -08:00
MSP-Greg 5e0d33a856
appveyor.yml - remove timezone & tzinfo gems from MSVC builds
Not compatible with concurrent-ruby dependency
2019-10-22 14:06:39 +09:00
MSP-Greg 5c81e19b19 appveyor.yml - MinGW - update for MSYS2 / Mingw-w64 (#2573)
MSYS source code comes from both gcc.gnu.org & Mingw-w64.  Updates to the Mingw-w64 source broke the MinGW build step.

Fixes the issue until Mingw-w64 updates their source, then it should be reverted, see comments in code.
2019-10-18 11:03:54 -07:00
MSP-Greg 4068be1d9f appveyor.yml - msys2 update code
As AppVeyor's MSYS2 install gets out of date, this may require 'special' code...

This code also adds updating the database, which currently updates gcc from 9.1.0 to 9.2.0.
2019-09-07 10:48:40 +09:00
Takashi Kokubun fa5f7771f2
Drop duration from AppVeyor notification
The format is a little weird, and not so helpful either.
2019-08-25 20:10:25 +09:00
Takashi Kokubun 1d6a31f3d5
Make AppVeyor notification similar to Travis 2019-08-23 09:45:49 +09:00
Takashi Kokubun 235d810c2e
Deprecate alerting multiple channels
Some CIs report to two channels, and some others report to only one.
This makes it consistent. Only alert channel should be alerted.
2019-08-20 22:33:32 +09:00
Takashi Kokubun 4c13368972
Make AppVeyor notification colors consistent
It was using the same one as original AppVeyor's notification, but it's
just inconsistent with others like Travis and GitHub Actions.
2019-08-19 09:47:05 +09:00
Takashi Kokubun ad0ea708ca
Drop before_test for mswin too
for consistency. In the pull request, `before_test` was dropped only for
msys2 to fix msys2-only failure. But there's no need to keep it
inconsistent now.
2019-08-18 15:50:03 +09:00
MSP-Greg cba8166cc1 Appveyor - vc120 use OpenSSL 1.0.2, vc140 use 1.1.1 (#1998)
* appveyor.yml - OpenSSL vc120 -> 1.0.2, vc140 -> 1.1.1

* Try just using build_script
2019-08-18 15:47:19 +09:00
Takashi Kokubun 1c7eadf754
Debug which test hangs on mswin
debugging failure of
https://ci.appveyor.com/project/ruby/ruby/builds/26613960/job/nemi6pvc5s5843io
2019-08-11 14:15:49 +09:00
Takashi Kokubun a9b9f9d157
Revert "Drop -j from msys2 build for debugging"
This reverts commit b1594ca3d6.

Revert "Debug appveyor mingw failure"

This reverts commit fa29f65416.

Though I preserved V=1 for future debugging.
2019-08-08 22:36:34 +09:00
Takashi Kokubun 2a6d7fad13
Arrange installed packages like ruby-loco
to fix a build error like:
https://ci.appveyor.com/project/ruby/ruby/builds/26547644/job/4j7n41e7in97a9kx

Basically copy-pasted what's currently done in MSP-Greg/ruby-loco.

Co-Authored-By: MSP-Greg <greg.mpls@gmail.com>
2019-08-08 22:18:50 +09:00
Takashi Kokubun b1594ca3d6
Drop -j from msys2 build for debugging 2019-08-08 20:37:12 +09:00
Takashi Kokubun fa29f65416
Debug appveyor mingw failure
It has been unstable for recent builds:
https://ci.appveyor.com/project/ruby/ruby/builds/26531442/job/0ycp7woekqqx97x9
https://ci.appveyor.com/project/ruby/ruby/builds/26531687/job/xui3rctcvi7r49iv
https://ci.appveyor.com/project/ruby/ruby/builds/26532019/job/1q0n46ci4g8dplwx
2019-08-08 00:10:27 +09:00
Takashi Kokubun 4b4d8a662b
Stop isolating test_gc_compact on CI
I think it's been stable these days.
2019-07-29 19:45:32 +09:00
Takashi Kokubun 3d1536e618
Build AppVeyor only on master 2019-07-01 00:24:14 +09:00
Nobuyoshi Nakada eb016d8353
Generalize timeout_scale
* test/lib/test/unit.rb (Test::Unit::TimeoutOption): renamed
  SubprocessOption.

* test/lib/test/unit.rb (Test::Unit::TimeoutOption#setup_options):
  prefer `--timeout-scale` option.

* test/lib/test/unit.rb (Test::Unit::TimeoutOption#non_options):
  prefer `ENV["RUBY_TEST_TIMEOUT_SCALE"]`.
2019-06-11 23:15:46 +09:00
MSP-Greg aeb9a0ca77
appveyor.yml again!
This issuse is caused by MSYS2 changing from using ncurses to pdcurses.
Appveyor's MSYS2 is so out-of-date that partial updates are 'troublesome'...
2019-06-01 02:16:34 +09:00
MSP-Greg f60a59ed20
appveyor.yml - update for msys2 - pdcurses, force toolchain
Closes: https://github.com/ruby/ruby/pull/2208

Merging the PR for fixing AppVeyor msys2 failure related to GCC 9 like:
https://ci.appveyor.com/project/ruby/ruby/builds/24877992/job/ned5k4k5rwxnld5j
2019-05-29 09:14:01 +09:00
Nobuyoshi Nakada 2562b7d7cd
Unify RELINE_TEST_ENCODING setting 2019-05-28 14:38:31 +09:00
Nobuyoshi Nakada d5f408403f
Set read-only with attrib command 2019-05-28 14:38:31 +09:00
Takashi Kokubun cf904d9f9f
Avoid doubly building Travis and AppVeyor
but on "master" branch.

For Pull Request, I changed the approach from
d9b338a53f and
277e68825a.
2019-05-28 10:02:31 +09:00
Takashi Kokubun 7c507345a7
Build trunk branch too to trigger AppVeyor on PR 2019-05-25 07:26:35 -07:00
Nobuyoshi Nakada 1ccc2eeba0
Pretend to update all Unicode files 2019-05-23 14:18:26 +09:00
Takashi Kokubun c210c68d39
Revert "Revert CI deduplication on Wercker / Azure for debugging"
This reverts commit 1ebe9a2f82.

because it did not help.
2019-05-22 11:14:54 -07:00
Takashi Kokubun 1ebe9a2f82
Revert CI deduplication on Wercker / Azure for debugging
CI seems to have a weired behavior now. Debugging.

Revert "azure-pipelines.yml: Fix typo"

This reverts commit f69d28fbca.

Revert "azure-pipelines.yml: Use simpler trigger syntax"

This reverts commit 709756d897.

Revert "azure-pipelines.yml: Do not run CI on trunk"

This reverts commit bec877b46f.

Revert "appveyor.yml: Do not doubly run CI on trunk"

This reverts commit d9b338a53f.
2019-05-22 10:01:36 -07:00
Takashi Kokubun d9b338a53f
appveyor.yml: Do not doubly run CI on trunk 2019-05-22 08:40:09 -07:00
Nobuyoshi Nakada 4d9c3a8c23
Update include files on msys2 too 2019-05-18 09:40:03 +09:00
aycabta 17350c7e55 Add Reline as a fallback library for Readline
* lib/reine.rb, lib/reline/*: Reline is a readline stdlib compatible
  library.
* lib/readline.rb: Readline uses a fallback to Reline when ext/readline
  doesn't exist.
* tool/sync_default_gems.rb: add ruby/reline as a default gem.
* appveyor.yml: add "set RELINE_TEST_ENCODING=Windows-31J" for test suit
  of Reline, and add "--exclude readline" to "nmake test-all" on Visual
  Studio builds because of strange behavior.
* spec/ruby/library/readline/spec_helper.rb: skip Reline as with
  RbReadline.
2019-04-30 11:44:20 +09:00
Takashi Kokubun 14f004d396
Isolate test_gc_compact on AppVeyor mswin as well
because it makes the CI unstable
https://ci.appveyor.com/project/ruby/ruby/builds/24143365/job/yrx7b8ce2qg9wro2
2019-04-28 02:18:17 +09:00
Takashi Kokubun afb361dfd0
Isolate test_gc_compact on msys2 AppVeyor
as it's unstable on the environment
https://ci.appveyor.com/project/ruby/ruby/builds/24138134/job/i7e441u7se11w7ey
2019-04-27 20:15:08 +09:00
k0kubun a26d525ae4 appveyor.yml: try porting r67454 to msys2
Trying to fix
https://ci.appveyor.com/project/ruby/ruby/builds/23639998/job/0hm9v79xlryod1ff

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-06 01:25:15 +00:00
nobu b5df5296a4 appveyor.yml: Use pre-generated headers and tables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-06 00:08:04 +00:00
nobu 9dcc6f0810 appveyor.yml: download beta version for test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-05 14:44:13 +00:00
k0kubun 407cd5cc54 Drop invalid trailing comma in JSON object
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-17 04:13:13 +00:00
k0kubun 8ce6748fc8 Notify AppVeyor results to multiple channels
and simplified config by using dedicated webhook URL.
Sadly AppVeyor YAML does not support alias and so we need to copy-paste
the request body.

memo:
https://slack-files2.s3-us-west-2.amazonaws.com/bot_icons/2018-02-10/314363543719_48.png
is the URL used by `provider: Slack`

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-16 04:11:54 +00:00
k0kubun e4c184c6ae Increase the number of curl retries
Because retrying 5 times failed.
https://ci.appveyor.com/project/ruby/ruby/builds/23063048/job/k9lykaagfaex74gg

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-15 13:25:06 +00:00
k0kubun 6c574d4be4 appveyor.yml: retry zlib downloads
https://ci.appveyor.com/project/ruby/ruby/builds/22196846/job/53xvhv265f8eogl4

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-07 14:58:37 +00:00
nobu 2d0833e101 Try with TZInfo and Timezone gems
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-28 14:08:34 +00:00
k0kubun c6d0892fa2 configure.ac: disable native-fiber for MinGW
because it had already been SEGV-ed in pull request'S CI
https://ci.appveyor.com/project/ruby/ruby/builds/20427065/job/32oahrcd58b8ubb1
and has never worked on trunk either.

Please make sure it does not SEGVs on your MinGW environment or pull
request before enabling native fiber on MinGW.

appveyor.yml: reverted commits to make CI green with native fiber
test/excludes/_appveyor/msys2/TestArray.rb: ditto
test/excludes/_appveyor/msys2/TestEnumerable.rb: ditto
test/excludes/_appveyor/vs/TestArray.rb: ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-20 14:40:55 +00:00