37 Commits

Author SHA1 Message Date
Samuel Williams
a3ac1bf450 Add more timeouts to macos, mjit, ubuntu and windows workflows. 2020-07-20 10:58:57 +12:00
Takashi Kokubun
46d1777a43
Remove --jit-min-calls for now
--jit-min-calls=5 is too unstable
2020-07-13 10:06:34 -07:00
Takashi Kokubun
d99d96cc6d
Add --jit-min-calls=5 (#3313)
* RUN_OPTS needs to be specified for overriding it

* Add --jit-min-calls=5
2020-07-12 22:10:57 -07: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
Nobuyoshi Nakada
f6acbf7679
Fetch no tags
Fetched tags by `make up` are not used, in CI environments.
2020-06-04 09:09:51 +09:00
Nobuyoshi Nakada
1ce40e3b29
Removed fetch-depth
Only the last commit is used, unless creating the ChangeLog file.
2020-06-04 09:09:51 +09:00
卜部昌平
b16acf8baa .github: use actions/checkout@v2 again 2020-05-12 17:15:22 +09:00
Kazuhiro NISHIYAMA
6292271ef7
Fix permission of PATH
https://github.com/ruby/actions/runs/608526685?check_suite_focus=true
`warning: Insecure world writable dir /home/runner/.config in PATH, mode 040777`
2020-04-23 01:40:24 +09:00
Nobuyoshi Nakada
df275179bd
Revert "Moved aclocal.m4 to macro directory"
This reverts commit 4a6571dbc14ee4e88c12cd9931f7695077a3ee6e,
because chkbuild does not follow.
2020-04-05 11:53:07 +09:00
Nobuyoshi Nakada
4a6571dbc1 Moved aclocal.m4 to macro directory 2020-04-05 09:26:57 +09:00
Kazuhiro NISHIYAMA
7a2177ea50 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.
2020-03-30 18:47:41 +09:00
Takashi Kokubun
4015f27a4d
Drop direct Slack notification from CIs
All Slack alerts have been migrated to a bot made by mame-san
2020-03-09 22:39:19 -07:00
Takashi Kokubun
f9f3510e64
Hook an experimental alert from Actions 2020-03-07 00:34:41 -08:00
卜部昌平
0711ceeb37 .github/workflows: name the configure runs
Explicit `name:` entry was requested by @nobu.
2020-03-02 14:53:05 +09:00
卜部昌平
2bfa1025a9 .github: let "make leaked-globals" run in parallel
This target can be a build matrix.  Also it does not make sense to test
it on mjit.
2020-03-02 14:53:05 +09:00
卜部昌平
888e736524 .github: make use of working-directory
One can specify working directory of a step, no by `cd foo` inside of
the run. See also
https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun
2020-03-02 14:53:05 +09:00
卜部昌平
e06ad731f0 .github: less verbose on: specifier
The `branch:` specifier was necessary before, to prevent double-testing
master and trunk.  Now that we no longer have trunk, we can slim the
expressions.

See also: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#on
2020-03-02 14:53:05 +09:00
Kazuhiro NISHIYAMA
8474e6ae1f Use github.run_id in notification payload URL 2020-02-10 16:49:16 +09:00
Kazuhiro NISHIYAMA
e62aead269
Add branch option to checkout on push 2020-01-11 16:24:16 +09:00
Takashi Kokubun
e44e3716d0
Slightly change the job wording [ci skip]
mame-san said it's weird
2020-01-06 01:52:20 -08:00
Takashi Kokubun
e3aca28970
Support running Actions on a fork
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-06 01:45:52 -08:00
Takashi Kokubun
8cd292f519
Directly refer to GitHub events
instead of unnecessarily defining env vars
2020-01-06 01:42:31 -08:00
Takashi Kokubun
8c9450e7b8
Remove code to prevent double build on trunk
trunk branch was deleted.
2019-12-31 22:03:21 -08:00
Takashi Kokubun
eca964c24e
More consistent failure notifications
The format is the same as Travis / AppVeyor now.
2019-12-31 21:26:40 -08:00
Takashi Kokubun
38c35dd22d
Make Slack notifications consistent 2019-12-30 23:46:18 -08:00
Takashi Kokubun
f98650e9f8
Make all Actions job names consistent
like "{platform} / make ({make target}, ...)"
2019-12-30 23:30:35 -08:00
Kazuhiro NISHIYAMA
26774351dc
Ignore error of apt-get update in MJIT workflow too 2019-12-13 18:06:36 +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
Takashi Kokubun
818708edab
Stop using undefined matrix.os for macOS
and use github.workflow instead. Applied a similar change to MJIT too.
2019-11-22 14:22:34 -08:00
Takashi Kokubun
afc93e96ff
Make GitHub Actions notification more like Travis
Build's sequential number is a link in Travis, and also YYYY-MM-DD-XX is
a little hard to parse.
2019-11-13 09:31:03 -08:00
Kazuhiro NISHIYAMA
7f2c98b11d Use shallow-since instead of depth
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.
2019-11-13 20:21:09 +09:00
Kazuhiro NISHIYAMA
990728170c Add commit number of today to notification of mjit CI too 2019-11-13 20:18:46 +09:00
Takashi Kokubun
bdf71a3ef0
Fix MJIT test's Slack notification 2019-11-12 23:04:25 -08:00
Takashi Kokubun
331655cbe7
Migrate Wercker MJIT tests to Actions (#2676)
* 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
2019-11-12 21:48:05 -08:00