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

116 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 1390d56ecf
Set $JOBS to Tests for parallel tests 2019-11-05 10:28:44 +09:00
Nobuyoshi Nakada c0c9a00f83 Simplify test tasks
Removed `if` conditions separating `test-bundled-gems`, and pass
`TESTOPTS` and `TEST_BUNDLED_GEMS_ALLOW_FAILURES` via `env`.
2019-11-05 02:12:26 +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
Kazuhiro NISHIYAMA 85d966af21 Add ubuntu-16.04 to matrix of GitHub Actions 2019-10-27 20:19:04 +09:00
Kazuhiro NISHIYAMA a7ec88ad61
Add `shell: cmd`
Use cmd instead of new default shell for `call`.
https://github.blog/changelog/2019-10-17-github-actions-default-shell-on-windows-runners-is-changing-to-powershell/

7bcc639c72/checks (step):6:5
```
call : The term 'call' is not recognized as the name of a cmdlet, function, script file, or operable program.
```
2019-10-25 10:45:46 +09:00
Nobuyoshi Nakada 5040eea959
Do not show progress at chocolatey 2019-10-25 08:54:33 +09:00
Nobuyoshi Nakada b7c8874b62
Install openssl with chocolatey
OpenSSL in chocolatey is 1.1.1d but outdated 1.0.2s is in vcpkg.
2019-10-25 02:31:21 +09:00
Nobuyoshi Nakada 826bbf9837
Split by `&&` 2019-10-25 02:24:00 +09:00
Nobuyoshi Nakada 967b924aa0
Expanded an environment variable
PowerShell does not expand by `%varname%` syntax.
2019-10-25 02:08:03 +09:00
Nobuyoshi Nakada b86af95c5b
Get rid of control flow by cmd.exe
Github workflow stopped using cmd.exe suddenly, and `||` and `&&`
seem not working in PowerShell.
2019-10-25 02:04:14 +09:00
Kazuhiro NISHIYAMA 0b26f56a77
Remove unreachable step level `[ci skip]` 2019-10-10 16:48:26 +09:00
Kazuhiro NISHIYAMA 6f11c3b335
Check '[ci skip]' at job level 2019-10-09 17:46:05 +09:00
Kazuhiro NISHIYAMA 55de0282da
Remove draft-release.yml [ci skip]
I thought default branch's workflow runs on any tags,
but it does not run for stable branches without draft-release.yml.
So I abandoned, and use workflow in ruby/actions instead.
2019-10-01 21:26:54 +09:00
Benoit Daloze 59060aadea Run test-unit tests in CI 2019-09-30 00:16:11 +02:00
Benoit Daloze d090e449ef Exclude the test-unit bundled gem tests since they also fail since the Time#inspect change
* See https://github.com/test-unit/test-unit/issues/165
2019-09-29 13:57:54 +02:00
Benoit Daloze e3b11566bf Remove continue-on-error for test-bundled-gems
* Otherwise, it takes a very long time to notice those tests broke.
2019-09-29 13:57:54 +02:00
Hiroshi SHIBATA c8f7168653
Revert the accidentally commits related GitHub Actions 2019-09-26 19:22:30 +09:00
Hiroshi SHIBATA ad638a713a
[rubygems/rubygems] Added jruby to matrix
https://github.com/rubygems/rubygems/commit/0832c079c8
2019-09-26 17:48:01 +09:00
Hiroshi SHIBATA 769a28d7dc
[rubygems/rubygems] Removed 2.2
https://github.com/rubygems/rubygems/commit/7fd2460f76
2019-09-26 17:48:01 +09:00
Hiroshi SHIBATA ba8fb735cb
[rubygems/rubygems] Added rvm workflow for Ruby 2.2 and 2.7
https://github.com/rubygems/rubygems/commit/d4ba75dfd2
2019-09-26 17:48:01 +09:00
Hiroshi SHIBATA 01c90f17d9
[rubygems/rubygems] Removed the needless configurations
https://github.com/rubygems/rubygems/commit/7134c49179
2019-09-26 17:48:01 +09:00
Hiroshi SHIBATA f5248f6f50
[rubygems/rubygems] Added the initial workflow file.
https://github.com/rubygems/rubygems/commit/6405a1e51a
2019-09-26 17:48:01 +09:00
Kazuhiro NISHIYAMA a1dcb9daa5
Rename from ruby-x.y.z.ext.draft to ruby-x.y.z-draft.ext [ci skip] 2019-09-24 21:52:23 +09:00
Kazuhiro NISHIYAMA a0ce0b6297
Add `if: always()` because 2.4.x's `make check` failed on snapshot [ci skip]
`check-snapshot-ruby_2_4` uses `make test` instead of `make check`.
95692e54f4/.github/workflows/snapshot.yml (L448-L449)

`draft-release` use `make check` to make it simple, and
actions is required regardless of success or failure.

On the other hand, snapshot success can be ignored,
so normally it should not fail.
2019-09-22 10:11:51 +09:00
Kazuhiro NISHIYAMA 9fb9f2d318
Add draft-release.yml [ci skip]
Make draft release packages. (Release packages are official after tests and release announce.)

- Copy from ruby/actions
- Change trigger tags from `draft/v*` to `v*` (I use `draft/v*` on ruby/actions because I want to avoid to cause trouble with shell history on working directory of ruby/ruby.)
- Change secrets names because secrets are repository local and use different names between ruby/ruby and ruby/actions.
2019-09-19 12:47:09 +09:00
Kazuhiro NISHIYAMA 0785469a40 `brew install` may fail, so try to use `tool/travis_retry.sh`
https://github.com/ruby/ruby/runs/224877570#step:3:1008
```
Error: No such file or directory @ dir_s_rmdir - /Users/runner/Library/Caches/Homebrew/downloads/ca756e367eb98d2b525e72b311633c27ffc74eca825a5392153b3488d1adb732--libssh2-1.9.0.mojave.bottle.tar.gz
```
2019-09-17 18:02:03 +09:00
Kazuhiro NISHIYAMA 3c162df9d4 Dump some information 2019-09-13 13:44:03 +09:00
Kazuhiro NISHIYAMA 9f86e5ecb6
Moved coverage.yml to https://github.com/ruby/actions [ci skip] 2019-09-12 18:28:46 +09:00
Kazuhiro NISHIYAMA fba5bbc695
Moved doxygen.yml to https://github.com/ruby/actions [ci skip] 2019-09-11 23:39:36 +09:00
Kazuhiro NISHIYAMA 489676bd20
Add `--no-progress` to `aws s3` [ci skip]
https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html
> --no-progress (boolean) File transfer progress is not displayed. This flag is only applied when the quiet and only-show-errors flags are not provided.
2019-09-11 09:35:06 +09:00
Kazuhiro NISHIYAMA c725a4e48f
Check github.repository in doxygen.yml [ci skip] 2019-09-07 14:03:29 +09:00
Kazuhiro NISHIYAMA 7a2bd91ed2
Try to fix `invalid option`
https://github.com/ruby/ruby/runs/212727409#step:11:67
```
invalid option: -j5
```
2019-09-05 17:51:02 +09:00
Kazuhiro NISHIYAMA f4df9fb46b
Change name to `Tests (test-bundled-gems)` in macos.yml too 2019-09-05 17:47:51 +09:00
Kazuhiro NISHIYAMA ccad34f453
Add TEST_BUNDLED_GEMS_ALLOW_FAILURES=minitest 2019-09-04 12:51:39 +09:00
Kazuhiro NISHIYAMA 1e30d0af7d
`$JOBS` does not set in `env:` 2019-09-04 12:03:28 +09:00
Kazuhiro NISHIYAMA b0d0b850bc
Use RUBY_TESTOPTS instead of TESTOPTS
https://github.com/ruby/ruby/pull/2417#issuecomment-526884646
> `TESTOPTS` is defaulted to `$(RUBY_TESTOPTS)` in `common.mk` file.
> Use the latter name to pass options via an environment variable.
2019-09-04 11:50:37 +09:00
Takashi Kokubun 7cb19b3f5b
Roughly retry choco install commands
to deal with random failures:
https://github.com/ruby/ruby/runs/210617845
2019-09-03 21:03:11 +09:00
Kazuhiro NISHIYAMA 36a0c668b6
Remove SKIP_DOXYGEN because job.env does not set in `if:` 2019-09-03 18:36:08 +09:00
Kazuhiro NISHIYAMA 624a0ad44d
Use `set-env` instead of `grep` in each step 2019-08-28 10:07:54 +09:00
Kazuhiro NISHIYAMA 108dbb389b
Use JOBS again like macos.yml 2019-08-28 09:45:31 +09:00
Kazuhiro NISHIYAMA 330c2f7597
Change name to `Tests (test-bundled-gems)` 2019-08-28 09:41:14 +09:00
Kazuhiro NISHIYAMA 230f405479
Add name to autoconf 2019-08-28 09:38:52 +09:00
Kazuhiro NISHIYAMA 17c0ce3798
Remove GITHUB_SHA from jobs.<job_id>.steps.env
because default value overrides it.
https://help.github.com/en/articles/virtual-environments-for-github-actions#environment-variables
2019-08-28 09:20:07 +09:00
Kazuhiro NISHIYAMA 767992329e
Allow missing projectnumber [ci skip] 2019-08-28 09:15:40 +09:00
Kazuhiro NISHIYAMA d4de5e6459
Show projectnumber in current index.html and GITHUB_SHA 2019-08-28 09:13:43 +09:00
Kazuhiro NISHIYAMA cbcad66741
Fix doxygen action
- Fix checkout error: `fatal: destination path '.' already exists and is not an empty directory.`
- Remove `GITHUB_SHA` in env, because set automatically
  https://help.github.com/en/articles/virtual-environments-for-github-actions#environment-variables
- Change minute from 0 to 20 for test soon
2019-08-28 02:16:28 +09:00
Kazuhiro NISHIYAMA 71e5871c3b
Run on schedule only and skip if not modified 2019-08-28 01:48:40 +09:00
Takashi Kokubun dd032a5fb4
Make doxygen / coverage torelant to clone race
a little.

Doing both `git clone --depth=1` and `git reset --hard ${sha}` does not
make sense (the latter command either does nothing or just fails), so I
added non-1 value as a depth.

Maybe we don't need depth=50 for pull_request and schedule, so it's 10
for now.
2019-08-28 00:16:16 +09:00
Takashi Kokubun 4209066f0e
Drop more unused configs from doxygen and coverage
workflows, because mame said he has never seen it.
2019-08-27 23:52:43 +09:00