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

56 Коммитов

Автор SHA1 Сообщение Дата
k0kubun 2c276c1950 appveyor.yml: completely separate win32ole tests
because r64938 was not enough and another win32ole test file
(`test_win32ole_type.rb`) crashed worker.
https://ci.appveyor.com/project/ruby/ruby/builds/19321161/job/ue1qrphi5j1xxgu6

Let's run whole win32ole test suite separately.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-07 16:45:16 +00:00
k0kubun cdffad515c appveyor.yml: give up running TestThreadQueue#test_queue_with_trap
for mswin. We tried to increase timeout and execute separately but both
didn't work. Let me skip this until somebody starts to work on fixing
this behavior, since this makes AppVeyor almost impossible to be used as CI.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-07 14:05:56 +00:00
k0kubun 686a12a6a4 appveyor.yml: separately execute unstable tests
without -j option. Those 2 tests are too unstable on AppVeyor.

test/excludes/TestThreadQueue.rb: The most unstable test ever. That even fails on my
machine too. This may be possibly because recent SIGCHLD-related changes.
https://ci.appveyor.com/project/ruby/ruby/build/9795/job/l9t4w9ks7arsldb1

test/excludes/TestWin32OLE.rb: I saw that win32ole crashes test-all several times.
https://ci.appveyor.com/project/ruby/ruby/build/9811/job/ra5uxf2cg6v7ohag


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-07 12:03:49 +00:00
k0kubun 6b596cc219 revert r64935
that didn't work at all. So the so file should be open at the time.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-07 11:46:26 +00:00
k0kubun 86e09265b6 appveyor.yml: use ./tmp as TMPDIR for test-all
on VS.

On AppVeyor, we seem to fail to remove so file due to permission error.
C:/projects/ruby/test/ruby/test_jit.rb:419: warning: MJIT warning: failed to remove
"C:\Users\appveyor\AppData\Local\Temp\1/_ruby_mjit_p3580u0.so": Permission denied
https://ci.appveyor.com/project/ruby/ruby/builds/19317520/job/sh8s6tw6ayxvtl33

But this is not reproductive on my local mswin environment at all.
To identify the cause, let me try changing the TMPDIR.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-07 08:15:48 +00:00
k0kubun 989fc2de9a appveyor.yml: increase timeout for vs
because `TestThreadQueue#test_queue_with_trap` is too unstable
especially on vs140.
https://ci.appveyor.com/project/ruby/ruby/build/9731/job/sevjm9lrmssg4dub

Increasing timeout may not fix the issue, but let me test this first to
check if it's true or not.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-25 17:26:34 +00:00
k0kubun 63130b2348 appveyor.yml: increase timeout for vs
vs140 tends to die with 10s timeout on TestThreadQueue#test_queue_with_trap
https://ci.appveyor.com/project/ruby/ruby/build/9610/job/di9durc5rv0dwhor
https://ci.appveyor.com/project/ruby/ruby/build/9598/job/t7wugyn1sm57lbw3

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-13 01:45:38 +00:00
nobu 9024509410 appveyor.yml: try VS140
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-10 13:05:34 +00:00
nobu e4b1172833 appveyor.yml: fix PATH and env for msys2
based on the patch by MSP-Greg at #1945.

Co-authored-by: MSP-Greg <greg.mpls@gmail.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-04 02:19:39 +00:00
nobu 2cbf44e55b appveyor.yml: reduce matrix factors
* appveyor.yml (environment): separate matrix factors by `build` (`vs`
  or `msys2`), and `build` (and `vs` version if VS build).
  now `MSYS2_ARCH` and `MSYSTEM` are derived from `Platform` if msys2
  build.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-04 02:18:51 +00:00
nobu 9c827bd051 appveyor.yml: run on all branches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-16 16:11:54 +00:00
kazu 1f0f2ae2a0 Remove outdated comment [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-16 12:14:11 +00:00
nobu 425a820d17 appveyor.yml: no MSYS path conversion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-15 04:10:19 +00:00
nobu 5a149052fe appveyor.yml: get rid of msys sh as possible
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-15 02:15:13 +00:00
k0kubun 1684a1bd71 appveyor.yml: remove broken --name option
Currently all tests are skipped by the --name option.
V=1 is for debugging this issue.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-14 23:23:44 +00:00
k0kubun 490838959b appveyor.yml: install gdbm
which is missing on AppVeyor environment

6a1e323ae8 (commitcomment-30056791)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-13 16:03:47 +00:00
k0kubun 6a1e323ae8 appveyor.yml: add MinGW build
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-13 15:29:40 +00:00
k0kubun 7496672904 appveyor.yml: drop unnecessary 1.0. prefix
from version.

Also I fixed the wrong way of using `for:`.
Specifying `for` without `matrix.only` was just useless.
This fix is for adding MinGW matrix in the future.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-13 13:46:06 +00:00
k0kubun b1ecbf8e02 appveyor.yml: customize icon_url
We're using "x" sign as an icon for incoming webhook, but the success
notification by `on_build_status_changed` should not be an "x" asign.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-11 23:33:36 +00:00
nobu 591b2566d7 appveyor.yml: show the OS version
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-11 14:15:58 +00:00
k0kubun 63145476e8 appveyor.yml: don't notify PR failure to Slack
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-10 12:55:18 +00:00
k0kubun 29ccaf6ea9 appveyor.yml: make sure MJIT is tested on AppVeyor
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-07 16:49:34 +00:00
k0kubun 8c8d298c88 appveyor.yml: refactor r62402
We have good feature to share common configuration between branches:
https://www.appveyor.com/docs/branches/#sharing-common-configuration-between-branches
Let's try this.

By the way, the intention of r62402 was excluding PR notifications while
it wasn't written in the commit message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-02-14 14:09:32 +00:00
k0kubun 7da8fa1cb7 appveyor.yml: notify slack only for trunk
Using conditional build configuration.
https://www.appveyor.com/docs/branches/#conditional-build-configuration

This copy-pasting is so ugly, but AppVeyor doesn't have a feature to
filter notification based on branch.
https://github.com/appveyor/ci/issues/272

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-02-14 12:34:49 +00:00
k0kubun f3f3e27830 appveyor.yml: finish notification test
Now it succeeds to notify. Notifying all CI success would be noisy.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-02-11 07:35:48 +00:00
k0kubun f0df9902ca appveyor.yml: encrypt config with ruby's account
Currently it's encrypted with k0kubun's account and the notification is
failing.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-02-11 07:28:03 +00:00
k0kubun 9d93d58f40 appveyor.yml: send AppVeyor slack notification
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-02-11 06:03:21 +00:00
naruse be4bfe4a85 Remove DevKit path, change zlib link
by MSP-Greg <MSP-Greg@users.noreply.github.com>
fix https://github.com/ruby/ruby/pull/1708

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-27 21:55:32 +00:00
naruse 42d4f9ea8b Switch Build to use 2.4 with certs files
patched by MSP-Greg <MSP-Greg@users.noreply.github.com>
fix https://github.com/ruby/ruby/pull/1702

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-09-25 17:38:42 +00:00
nobu d4aad43f59 appveyor.yml: num of jobs
* appveyor.yml (test_script): stop running too many workers to get
  rid of sporadic NoMemoryError.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-18 01:15:35 +00:00
nobu 6502c03815 appveyor.yml: show encodings [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-08 01:58:42 +00:00
nobu 4ea23fb727 appveyor.yml: enable exam on AppVeyor
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-08 01:19:44 +00:00
nobu b532c83e79 readonly srcdir
appveyor.yml: make srcdir unwritable during build and tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-23 01:04:09 +00:00
nobu bd765ce2bb appveyor.yml: remove unused UNICODE_DATA_DIR
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-23 01:04:07 +00:00
nobu cf94bb9a08 Don't download from Unicode.org
* tool/make-snapshot: use checked out headers for Unicode, to get
  rid of downloading data files from Unicode.org.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-24 03:42:28 +00:00
nobu f5e265949f common.mk: touch-unicode-files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-24 02:44:21 +00:00
nobu 96069e9573 Don't download from Unicode.org
* .travis.yml, appveyor.yml: use checked out headers for Unicode,
  to get rid of downloading data files from Unicode.org.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-23 23:55:29 +00:00
nobu 6411b4a426 Download Unicode data by appveyor [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-21 08:03:49 +00:00
nobu 6323c8b824 appveyor.yaml: matrix
* appveyor.yaml: use build matrix for platforms and compilers.
  resolve hard coded paths from these variables.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-23 07:14:29 +00:00
nobu 238b9276de appveyor.yml: extract zlib_version
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-11 11:37:14 +00:00
kazu 78295b6b86 appveyor.yml: Update zlib
* Update zlib to 1.2.11
* Use https instead of http

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-02-11 03:12:59 +00:00
hsbt 17802b55dd Use environment variable for system ruby detection on appveyor.
* Use ruby_version instead of 22-x64 and 21-x64
 * Use 23-x64 to build Ruby

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-10 06:38:14 +00:00
nobu 15686d6ecc appveyor.yml: use mirror for zlib
* appveyor.yml (install): try sourceforge.net mirror to download
  zlib source.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-29 10:38:35 +00:00
nobu 021d3c7a9a appveyor.yml: build zlib together
* appveyor.yml (install): extract zlib source under ext/zlib and
  build within the build process.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-24 13:26:24 +00:00
nobu 3778f2f3d5 use OpenSSL-Win64
* appveyor.yml (install): use pre-installed OpenSSL-Win64.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-24 12:51:14 +00:00
nobu e969e3ba7b use TESTOPTS instead of OPTS for tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-24 12:51:14 +00:00
nobu e051de834d Download by AppVeyor
* appveyor.yml (install): use AppVeyor command-line utility to
  download files, instead of Start-FileDownload cmdlet which no
  longer works more than once.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-24 11:52:56 +00:00
kazu 15c9e5c0a5 * appveyor.yml: Update libressl version to 2.3.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-15 07:42:56 +00:00
naruse 303dc3c591 * ext/tk: Tk is removed from stdlib. [Feature #8539]
https://github.com/ruby/tk is the new upstream.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-09 06:44:45 +00:00
nobu 7c6fd1c629 appveyor.yml: fix file names
* appveyor.yml (install): file library file names to be installed
  from libressl.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-07 00:31:40 +00:00