summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
AgeCommit message (Collapse)Author
2020-02-20Use `brew upgrade` instead of `brew update`Kazuhiro NISHIYAMA
2020-02-10Use github.run_id in notification payload URLKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2898
2020-01-19Allow rexml to fail on macOS of Github ActionsNobuyoshi Nakada
And revert "Stop test-bundled-gems on macOS for now", 28b290f7f4cb332dab3ddf3132e1916d413ea65c. Notes: Merged: https://github.com/ruby/ruby/pull/2847
2020-01-19Stop test-bundled-gems on macOS for nowNobuyoshi Nakada
2020-01-12Allow failures with rss tests on test-bundled-gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2832
2020-01-11Add branch option to checkout on pushKazuhiro NISHIYAMA
2020-01-06Slightly change the job wording [ci skip]Takashi Kokubun
mame-san said it's weird
2020-01-06Support running Actions on a forkTakashi Kokubun
Since 8c9450e7b875db846b19cc631af0d7fee66db5c6, 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-06Directly refer to GitHub eventsTakashi Kokubun
instead of unnecessarily defining env vars
2019-12-31Remove code to prevent double build on trunkTakashi Kokubun
trunk branch was deleted.
2019-12-31More consistent failure notificationsTakashi Kokubun
The format is the same as Travis / AppVeyor now.
2019-12-30Revert "Remove TEST_BUNDLED_GEMS_ALLOW_FAILURES"Takashi Kokubun
This reverts commit 75e8dd58f69c190c9698d0133942032903fb2f07. We seem to randomly hit another issue these days: https://github.com/ruby/ruby/runs/368756135 https://github.com/ruby/ruby/runs/368756191
2019-12-11Try to use `set-output`Kazuhiro NISHIYAMA
because commit info are not necessary in env.
2019-11-30Make extract-gems only if test_task is checkKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2678
2019-11-30Add update-gems before extract-gemsKazuhiro NISHIYAMA
(windows.yml used `nmake up`) Notes: Merged: https://github.com/ruby/ruby/pull/2678
2019-11-30Add extract-gems to GitHub Actions CIKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2678
2019-11-22Stop using undefined matrix.os for macOSTakashi Kokubun
and use github.workflow instead. Applied a similar change to MJIT too.
2019-11-19Remove TEST_BUNDLED_GEMS_ALLOW_FAILURESKazuhiro NISHIYAMA
https://github.com/seattlerb/minitest/pull/798 is closed
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.