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

75 Коммитов

Автор SHA1 Сообщение Дата
Takashi Kokubun cc1ea6e023
Run nmake check on Actions (#4487)
* Run nmake check on Actions

* Skip tests not working in mswin GitHub Actions

* Override TEMP

* Revert "Skip tests not working in mswin GitHub Actions"

This reverts commit 544d2575fcdf23ae63cd25aa03fce10c28b259f2.

* Revert "Revert "Skip tests not working in mswin GitHub Actions""

This reverts commit e1f8ad7862c9c4be52dc6e1031a004621eb07e6e.

* Fix timeouts

* Skip some more broken tests

* Update windows.yml

* Add a guard for rbasic_spec

* Revert "Update windows.yml"

This reverts commit bc9694b6b3b9594d406378d15ca11723fb052bc8.

* Skip the ensure clause

* Simplify the ensure
2021-05-11 15:18:44 -07:00
Takashi Kokubun 7c346e1072
Split a Choco-Install command
In https://github.com/ruby/ruby/runs/2552065052, while it failed to
install winflexbison3, it exited the retry loop because openssl was
installed successfully.

a5ee51f72d/images/win/scripts/ImageHelpers/ChocoHelpers.ps1
2021-05-10 21:33:56 -07:00
Takashi Kokubun 3c9e30aef8
Try running Choco-Install with powershell
https://github.com/ruby/ruby/runs/2552047430
2021-05-10 21:17:36 -07:00
Takashi Kokubun 4ee72f4afd
Retry choco install
by using a wrapper provided by GitHub Actions
https://github.com/actions/virtual-environments/pull/721

to address failures like
https://github.com/ruby/ruby/runs/2551980671
2021-05-10 21:14:00 -07:00
Nobuyoshi Nakada 602d09a181
Suppress useless default branch name hint [ci skip] 2021-03-08 13:39:55 +09: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 b03aa7dcd7
Use the lateset winflexbison3
The installation script fault seems fixed at 2.5.23.20200904.
2021-02-02 16:12:16 +09:00
Nobuyoshi Nakada e350b32837
Add some git configurations in CIs 2021-02-02 14:54:53 +09:00
Nobuyoshi Nakada 5a33ef0586
Set git config in global instead of system 2021-02-02 14:37:15 +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
Nobuyoshi Nakada a75ab110df
Use %VCVARS% 2020-10-13 14:16:29 +09:00
Kazuhiro NISHIYAMA f9df340a6a Remove unused commit_info 2020-10-06 11:41:17 +09:00
Nobuyoshi Nakada fbf79f1c11
Use the previous winflexbison3
winflexbison3 v2.5.23.20200829 seems to install nothing.
2020-09-01 14:42:19 +09:00
Hiroshi SHIBATA 8a99f820ce
Use zlib provided by vcpkg in mswin CI (#3397)
* Revert "mswin build - install src zlib files after checkout"

This reverts commit b6175c9e4f.

* Revert "mswin build - install src zlib files"

This reverts commit bf758ef8b4.
2020-08-07 12:28:39 +09:00
Nobuyoshi Nakada b6175c9e4f
mswin build - install src zlib files after checkout
actions/checkout deletes the contents of the source directory.
2020-08-01 19:02:41 +09:00
MSP-Greg bf758ef8b4 mswin build - install src zlib files 2020-08-01 19:01:45 +09:00
Samuel Williams a3ac1bf450 Add more timeouts to macos, mjit, ubuntu and windows workflows. 2020-07-20 10:58:57 +12:00
Sora Morimoto 48ba9b6106 Update actions/cache from v1 to v2
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2020-07-15 15:57:16 +09:00
Nobuyoshi Nakada d9c8804045
Update without touch-unicode-files 2020-06-16 12:29:02 +09: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 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
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
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
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 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
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 c19e62ddc9 Remove debug print 2019-12-09 16:08:12 +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 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
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