190 Commits
Author SHA1 Message Date
Hiroshi SHIBATA 332135b9a9 Ubuntu 18.04 in GHA is retired 2023-03-29 10:57:28 +09:00
Nobuyoshi Nakada cc705648a7 Removed fetch-depth
Only the last commit is used, unless creating the ChangeLog file.
2023-03-29 10:57:28 +09:00
卜部昌平 a57ffec6c0 .github: use actions/checkout@v2 again 2023-03-29 10:57:28 +09:00
Kazuhiro NISHIYAMA c942a3cffe 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.
2023-03-29 10:57:28 +09:00
Hiroshi SHIBATA 7f1163e9a5 Use ubuntu-20.04 instead of latest, because Ruby 2.7 didn't support openssl3 on Ubuntu 22.04 2022-11-24 11:20:51 +09:00
Hiroshi SHIBATA 6ff627e57e update ubuntu 18.04 for github actions 2022-09-20 18:46:34 +09:00
Hiroshi SHIBATA 4c7ae84081 Use autoreconf -i instead of autoconf 2022-09-20 18:46:34 +09:00
nagachika c761586ba9 I gave up tentatively to support autoconf 2.70 in ruby_2_7 and remove failing build on GitHub Actions MinGW 2021-03-21 14:43:16 +09:00
nagachika bad623558e .github/workflows/macos.yml: Remove pre-installed gems before test on macos Actions. 2021-02-27 13:49:03 +09:00
nagachika e249f37f24 merge revision(s) 45fd4436ee:
Use $GITHUB_ENV instead of set-env

	https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-12-31 15:10:19 +09:00
MSP-Greg a332e8a0dd ruby_2_7 update MinGW Actions workflow 2020-08-01 16:55:54 +09:00
Kazuhiro NISHIYAMA c3cd92582f Use brew upgrade instead of brew update 2020-02-20 17:08:45 +09:00
NARUSE, Yui 9c07f803db check ruby_2_7 branch 2020-01-30 13:36:47 +09:00
Nobuyoshi Nakada 49430aa4e5 Allow rexml to fail on macOS of Github Actions
And revert "Stop test-bundled-gems on macOS for now",
28b290f7f4.
2020-01-30 13:35:18 +09:00
Nobuyoshi Nakada 30a9dc4aa9 Stop test-bundled-gems on macOS for now 2020-01-30 13:35:18 +09:00
Yusuke Endoh 095a937dc2 .github/workflows/cygwin.yml: Removed
There is no active maintainer for cygwin.  The CI failure is too noisy.

[Misc #16407]
2020-01-30 13:35:18 +09:00
Nobuyoshi Nakada 5eced3c030 Checkout with git on cygwin for EOL code
`shell: bash` runs bash on msys which prefers git on msys too,
then checked out in CRLF mode.  Cygwin sed doesn't consider the CR
a part of EOL code, though.
2020-01-30 13:35:17 +09:00
Hiroshi SHIBATA 6ec6acd76e Allow failures with rss tests on test-bundled-gems 2020-01-30 13:35:17 +09:00
Kazuhiro NISHIYAMA 504b082f36 Add branch option to checkout on push 2020-01-30 13:35:17 +09:00
Takashi Kokubun 5dc82455ae Slightly change the job wording [ci skip]
mame-san said it's weird
2020-01-30 13:35:17 +09:00
Takashi Kokubun 7d42432546 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-30 13:35:17 +09:00
Takashi Kokubun bd48a28b1c Directly refer to GitHub events
instead of unnecessarily defining env vars
2020-01-30 13:35:17 +09:00
Takashi Kokubun 48f82ad289 Remove code to prevent double build on trunk
trunk branch was deleted.
2020-01-30 13:35:16 +09:00
Takashi Kokubun fdd9d7cd41 More consistent failure notifications
The format is the same as Travis / AppVeyor now.
2020-01-30 13:34:25 +09:00
Takashi Kokubun 531bbec111 Make test run condition consistent with other jobs
When `make all` fails, we should not run tests and output of such run is
confusing.
2020-01-30 13:34:25 +09:00
Takashi Kokubun 4d04b32986 Run tests in the consistent order
`make check` runs test -> test-all -> test-spec, and other CIs follow that too.
2020-01-30 13:34:25 +09:00
Takashi Kokubun 24621f23e5 Fix an outdated comment
We're actually using it for PR :p
2020-01-30 13:34:25 +09:00
MSP-Greg e3dfd9f2b5 Actions MinGW - fix test-all (#2803) 2020-01-30 13:34:25 +09:00
Takashi Kokubun a24d2f3b8c Use actions/checkout for PR (#2804) 2020-01-30 13:34:25 +09:00
Takashi Kokubun 77dfa520d4 Official actions/checkout is useless
It died again https://github.com/ruby/ruby/runs/368837347
2020-01-30 13:34:25 +09:00
Takashi Kokubun 124878c6aa Make Slack notifications consistent 2020-01-30 13:34:24 +09:00
Takashi Kokubun 110b4e974d There's no such target 2020-01-30 13:34:24 +09:00
Takashi Kokubun 4d9f106eae Make all Actions job names consistent
like "{platform} / make ({make target}, ...)"
2020-01-30 13:34:24 +09:00
Takashi Kokubun ca48fa8e81 Do not doubly build on trunk 2020-01-30 13:34:24 +09:00
MSP-Greg 44ef8af4fb MinGW on Actions (#2791)
* MinGW - skip spec in spec/ruby/optional/capi/thread_spec.rb

C-API Thread function rb_thread_call_without_gvl
      -- runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO

stops/freezes spec tests

See https://bugs.ruby-lang.org/issues/16265

* MinGW - skip test test/resolv/test_dns.rb

Test times out in CI (both AppVeyor & Actions), cannot repo locally

* MinGW - skip test test/ruby/test_thread_queue.rb

* Add Actions mingw.yml
2020-01-30 13:34:24 +09:00
Takashi Kokubun 6646c2b2ab Revert "Remove TEST_BUNDLED_GEMS_ALLOW_FAILURES"
This reverts commit 75e8dd58f6.

We seem to randomly hit another issue these days:
https://github.com/ruby/ruby/runs/368756135
https://github.com/ruby/ruby/runs/368756191
2020-01-30 13:34:24 +09:00
Hiroshi SHIBATA 03c504ac59 Commented-out btest on cygwin environment of GitHub Actions 2019-12-25 09:38:12 +09:00
Kazuhiro NISHIYAMA 26774351dc Ignore error of apt-get update in MJIT workflow too 2019-12-13 18:06:36 +09:00
Kazuhiro NISHIYAMA d5c73681f8 Ignore error of apt-get update on GitHub Actions 2019-12-13 18:04:21 +09: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 35adc47e7e Create dummy files when check only
because foo.rb in build directory breaks test-bundler
https://github.com/ruby/ruby/runs/343168046#step:20:125
2019-12-11 13:08:21 +09:00
Kazuhiro NISHIYAMA 4f5dc15b04 Create more dummy files in build directory 2019-12-11 12:35:51 +09:00
Kazuhiro NISHIYAMA 1ed0212bcf Do not load files in build directory
related https://bugs.ruby-lang.org/issues/16177
2019-12-11 12:35:51 +09:00
Yusuke Endoh c596e01a49 Move SECURITY.md into .github/ to reduce the files on the top directory 2019-12-10 18:05:51 +09:00
Nobuyoshi Nakada 129c3216d9 [cygwin] Removed unnecessary packages 2019-12-10 12:35:57 +09:00
Nobuyoshi Nakada cd35c09540 [cygwin] Removed unnecessary -c options 2019-12-10 12:35:44 +09:00
Kazuhiro NISHIYAMA a5e6a50cb8 Add cache of cygwin packages 2019-12-09 16:08:12 +09:00
Kazuhiro NISHIYAMA ea8f03e86c Remove unused branch name 2019-12-09 16:08:12 +09:00
Kazuhiro NISHIYAMA 801eafcc14 Split cygwin-chocolatey cache 2019-12-09 16:08:12 +09:00
Kazuhiro NISHIYAMA c19e62ddc9 Remove debug print 2019-12-09 16:08:12 +09:00