summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
AgeCommit message (Collapse)Author
2019-11-13Make GitHub Actions notification more like TravisTakashi Kokubun
Build's sequential number is a link in Travis, and also YYYY-MM-DD-XX is a little hard to parse.
2019-11-13Use shallow-since instead of depthKazuhiro NISHIYAMA
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. Notes: Merged: https://github.com/ruby/ruby/pull/2680
2019-11-12Migrate Wercker MJIT tests to Actions (#2676)Takashi Kokubun
* 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 Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2019-11-13Add commit number of today to notification of GitHub ActionsKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2675
2019-11-12Remove MSPECOPT formerly for debuggingTakashi Kokubun
At least the comment looks obsoleted. Aren't we using $JOBS already?
2019-11-12Improve Actions job name shown on toolipTakashi Kokubun
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-13Use style of set-envKazuhiro NISHIYAMA
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/development-tools-for-github-actions#set-an-environment-variable-set-env
2019-11-05Set $JOBS to Tests for parallel testsNobuyoshi Nakada
2019-11-05Simplify test tasksNobuyoshi Nakada
Removed `if` conditions separating `test-bundled-gems`, and pass `TESTOPTS` and `TEST_BUNDLED_GEMS_ALLOW_FAILURES` via `env`. Notes: Merged: https://github.com/ruby/ruby/pull/2643
2019-10-28Try out-of-place buildNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2622
2019-10-10Remove unreachable step level `[ci skip]`Kazuhiro NISHIYAMA
2019-10-09Check '[ci skip]' at job levelKazuhiro NISHIYAMA
2019-09-30Run test-unit tests in CIBenoit Daloze
Notes: Merged: https://github.com/ruby/ruby/pull/2506
2019-09-29Exclude the test-unit bundled gem tests since they also fail since the ↵Benoit Daloze
Time#inspect change * See https://github.com/test-unit/test-unit/issues/165 Notes: Merged: https://github.com/ruby/ruby/pull/2503
2019-09-29Remove continue-on-error for test-bundled-gemsBenoit Daloze
* Otherwise, it takes a very long time to notice those tests broke. Notes: Merged: https://github.com/ruby/ruby/pull/2503
2019-09-17`brew install` may fail, so try to use `tool/travis_retry.sh`Kazuhiro NISHIYAMA
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 ``` Notes: Merged: https://github.com/ruby/ruby/pull/2464
2019-09-05Try to fix `invalid option`Kazuhiro NISHIYAMA
https://github.com/ruby/ruby/runs/212727409#step:11:67 ``` invalid option: -j5 ```
2019-09-05Change name to `Tests (test-bundled-gems)` in macos.yml tooKazuhiro NISHIYAMA
2019-09-04Add TEST_BUNDLED_GEMS_ALLOW_FAILURES=minitestKazuhiro NISHIYAMA
2019-09-04`$JOBS` does not set in `env:`Kazuhiro NISHIYAMA
2019-09-04Use RUBY_TESTOPTS instead of TESTOPTSKazuhiro NISHIYAMA
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-08-28Remove GITHUB_SHA from jobs.<job_id>.steps.envKazuhiro NISHIYAMA
because default value overrides it. https://help.github.com/en/articles/virtual-environments-for-github-actions#environment-variables
2019-08-27Revert "Explain which test task"Nobuyoshi Nakada
This reverts commit 9bc1667a188392b94971b9b96507af76cbd5f413. `name` lines are not expanded.
2019-08-27Explain which test taskNobuyoshi Nakada
2019-08-22Make GitHub Actions Slack notification consistentTakashi Kokubun
with Travis, rather than AppVeyor. Formerly it was made similar to AppVeyor to provide some normal set of CI failure notification. But for some reason people preferred a shorter variant and introduced a1d606c079f6c3d1779d885e0bf2e3991251609e and d8d8015b93c6daa8d8433895464db3493a2056e2. Instead of AppVeyor format, this commit chose Travis-like format to achieve consistency and to include usual CI-failure information, while keeping it one-liner for people who prefer short notifications. Note that this shrinks the 40-char sha to 10-char, using the new feature of k0kubun/action-slack@v2.0.0: https://github.com/k0kubun/action-slack/commit/1c88a05dac664cbafa1c99a37f292ed23ac1c289
2019-08-22Remove footer from message to Slackaycabta
2019-08-22Show short message to Slackaycabta
2019-08-20Skip tests on Actions if [ci skip]Takashi Kokubun
It seems that we cannot easily apply job-level [ci skip]. Therefore this commit skips only Tests step if it's [ci skip].
2019-08-19Reduce sub-shell and use `&&` instead of `;`Kazuhiro NISHIYAMA
2019-08-19Roughly retry `brew update`Takashi Kokubun
as it failed randomly https://github.com/ruby/ruby/runs/196712109
2019-08-19Stop reporting test-bundled-gems resultsTakashi Kokubun
by marking continue-on-error. I dropped it to test Slack notification, and I finished to test it.
2019-08-19Workaround errors on multi-line commit messageTakashi Kokubun
by using toJson with fields.
2019-08-19Make Slack notification availableTakashi Kokubun
for macOS / Windows as well. Docker-based GitHub Action does not work on these OSes.
2019-08-19Implement Slack notification for ActionsTakashi Kokubun
2019-08-18Revert "Try notifying Slack from Actions"Takashi Kokubun
This reverts commit d8807e8b1a9d09ee1543e18618b4ef7e8203c616. We'd need more features. Reverting to customize this later.
2019-08-18Try notifying Slack from ActionsTakashi Kokubun
https://github.com/8398a7/action-slack https://github.com/marketplace/actions/action-slack
2019-08-17Disable fail-fast of GitHub ActionsTakashi Kokubun
This is default: true https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast When `make check` fails, we do not want to cancel `make test-bundler`.
2019-08-14Mark bundler / bundled-gems as continue-on-failureTakashi Kokubun
because these tests have failed too often and it's false-positive for checking healthiness of the master branch. Notes: Merged: https://github.com/ruby/ruby/pull/2367
2019-08-14Stop using official actions/checkoutTakashi Kokubun
because it has been unstable, and also it sometimes does not work for a pull request like: https://github.com/ruby/ruby/pull/2358/checks?check_run_id=192685048#step:4:17 Notes: Merged: https://github.com/ruby/ruby/pull/2360
2019-08-13Use the official actions/checkout again (#2357)Takashi Kokubun
because clone does not checkout exact commit sha, and also we'd need to handle pull_request on fork, so I tentatively stopped to do this. Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2019-08-12Revert "Roughly retry `brew update` on GitHub Actions"Takashi Kokubun
This reverts commit 5ee11a95ffbf194a73d1bea300a35f5d6250d203. Sorry, timeout(1) was missing.
2019-08-12Drop unused ccacheTakashi Kokubun
unlike Travis, it seems not used.
2019-08-12Roughly retry `brew update` on GitHub ActionsTakashi Kokubun
because it has failed often on Travis.
2019-08-12Try testing openssl@1.1 on GitHub ActionsTakashi Kokubun
because somebody may want to remove the duplicated Travis osx usage later. Notes: Merged: https://github.com/ruby/ruby/pull/2343
2019-08-12We did not have tool/ before checkoutTakashi Kokubun
anyway we don't need authorization here. Also retry does not seem to work in the original version, so let's extend this with retries as a separate github action later.
2019-08-12Stop relying on actions/checkoutTakashi Kokubun
because it randomly fails on authorization like: https://github.com/ruby/ruby/runs/190887455 Also the backoff seems too short. Maybe we need tool/travis_retry.sh for this too. Cloning ruby/ruby does not need authorization. We don't need to use actions/checkout.
2019-08-12Re-use GITHUB_ACTION variables for filtering bundler examples.Hiroshi SHIBATA
2019-08-12Added test-bundled-gems to GitHub ActionsHiroshi SHIBATA
2019-08-11Increase fetch-depthHiroshi SHIBATA
2019-08-11GitHub Actions does not support ANSI color code. Skip failing examples.Hiroshi SHIBATA