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

103 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 7ce3a100f2
Fold command line items 2022-02-06 19:22:44 +09: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
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
Kazuhiro NISHIYAMA e73197dff5
Update vcvars on windows-2022 [ci skip]
875a056af0
d6a789cbef (diff-a1f67f5c4a583bf90c239743379ad9473fbf1fa9d11c5cb7739c8012404dcc7aR229)
2021-11-12 09:56:24 +09:00
Nobuyoshi Nakada ba0e3ea130
[MSWin] Pass TESTOPTS via RUBY_TESTOPTS 2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada 30583bc947
[MSWin] Split nmake step
The workflow output grouping seems effective even in the middle of
lines.
2021-11-07 20:46:25 +09:00
Nobuyoshi Nakada 0a9cbe8562
Skip tests if only document files changed 2021-10-29 00:22:26 +09:00
Nobuyoshi Nakada a40f9c4a51
Fix empty values to booleans 2021-08-30 01:30:13 +09:00
Nobuyoshi Nakada 394498b878
[Windows CI] Stop VS-2022
We have previewed it, and know it doesn't work well now.
2021-08-28 18:21:47 +09:00
Nobuyoshi Nakada 47a2ea4df5
[Windows CI] Stop on error in VS-2022 2021-08-28 18:21:44 +09:00
Nobuyoshi Nakada 76e8cfd158
[Windows CI] Setup env 2021-08-28 18:21:39 +09:00
Nobuyoshi Nakada 3711467362
[Windows CI] Set PATCH path 2021-08-27 09:34:53 +09:00
Nobuyoshi Nakada a2831cf247
[Windows CI] Make test-all parallel and verbose 2021-08-27 09:34:53 +09:00
Nobuyoshi Nakada 8a754bc5c9
[Windows CI] Group nmake step 2021-08-27 09:34:53 +09:00
Nobuyoshi Nakada fbdd1c6a79
[Windows CI] Moved parameters to include 2021-08-27 09:34:52 +09:00
Kazuhiro NISHIYAMA ef10e8a1eb Use patch installed by msys2/setup-msys2 2021-08-26 19:47:48 +09:00
Kazuhiro NISHIYAMA 79a3e89dae Use bundled libffi on windows-2022 2021-08-26 19:47:48 +09:00
Kazuhiro NISHIYAMA 5550c2719a Install patch
Because patch does not installed on windows-2022.

https://github.com/actions/virtual-environments/issues/3949
> Only pure MSYS2 is installed. No additional packages
2021-08-26 19:47:48 +09:00
Kazuhiro NISHIYAMA 69615251f9 Ignore errors on windows-2022
https://github.com/ruby/ruby/pull/4775/checks?check_run_id=3419490832#step:13:38
2021-08-26 19:47:48 +09:00
Kazuhiro NISHIYAMA d96ba8c5c3 Use newer libffi on windows-2022 2021-08-26 19:47:48 +09:00
Kazuhiro NISHIYAMA b1f58d3e91 Set VCVARS 2021-08-26 19:47:48 +09:00
Kazuhiro NISHIYAMA 5e65f31b5a Add Windows Server 2022 with Visual Studio 2022
https://github.blog/changelog/2021-08-23-github-actions-windows-server-2022-with-visual-studio-2022-is-now-available-on-github-hosted-runners-public-beta/
2021-08-26 19:47:48 +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 f4640f64a4
Fixed comments in cmd.exe script [ci skip] 2021-06-16 14:31:02 +09:00
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