summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
AgeCommit message (Collapse)Author
2021-03-23Add `timeout-minutes' to GitHub workflow. [ci skip]Yukihiro "Matz" Matsumoto
2021-03-09chore: upgrade markdownlint GitHub Action node version to 14John Bampton
Upgrade to markdownlint-cli version 0.27.1
2021-02-23Bump actions/setup-node from v2.1.4 to v2.1.5dependabot[bot]
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.4 to v2.1.5. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v2.1.4...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea) Signed-off-by: dependabot[bot] <[email protected]>
2021-02-16Merge pull request #5356 from ↵Yukihiro "Matz" Matsumoto
mruby/dependabot/github_actions/actions/upload-artifact-v2.2.2 Bump actions/upload-artifact from v1 to v2.2.2
2021-02-16Bump actions/upload-artifact from v1 to v2.2.2dependabot[bot]
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v1 to v2.2.2. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v1...e448a9b857ee2131e752b06002bf0e093c65e571) Signed-off-by: dependabot[bot] <[email protected]>
2021-02-16Bump actions/cache from v2 to v2.1.4dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from v2 to v2.1.4. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6) Signed-off-by: dependabot[bot] <[email protected]>
2021-02-14Refine checking for trailing whitespace [skip travis][skip appveyor]KOBAYASHI Shuji
* Include tabs in checking. * Use `git grep` to avoid including `.git` directory. * Avoid running `grep` multiple times.
2021-02-13refactor: add the spell checker Action to the Lint Action fileJohn Bampton
Order jobs in workflow.
2021-02-13feat(CI): check for trailing whitespaceJohn Bampton
Run on pull request only. Use a shell script to check for trailing whitespace in all files. Fail if trailing whitespace is found.
2021-02-13refactor: only use certified GitHub Actions to increase securityJohn Bampton
Official -> "The individual jobs in a workflow can interact with (and compromise) other jobs. For example, a job querying the environment variables used by a later job, writing files to a shared directory that a later job processes, or even more directly by interacting with the Docker socket and inspecting other running containers and executing commands in them. This means that a compromise of a single action within a workflow can be very significant, as that compromised action would have access to all secrets configured on your repository, and can use the GITHUB_TOKEN to write to the repository. Consequently, there is significant risk in sourcing actions from third-party repositories on GitHub. " https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
2021-02-12Update GitHub Actions.Yukihiro "Matz" Matsumoto
- Remove Ubuntu-16.04 - Add Ubuntu-20.04 {gcc,clang}
2021-02-12Remove "skip ci" hack to GitHub Actions [skip travis][skip appveyor]KOBAYASHI Shuji
GitHub Actions now supports "skip ci" natively: https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
2021-01-08Delay test code build until `rake test`KOBAYASHI Shuji
With this change, the test code will not be built unless `rake test` is run, so there will be almost no side effects even if `enable_test` is always set (but, gems specified by `add_test_dependency` are included in `libmruby.a`). Also added are `test: build` task, which only builds the test code (including the main code), and `test: run` task, which only runs tests independent of build. Therefore, the idiom for building in parallel and not running tests in parallel is `rake -m test:build && rake test:run`.
2021-01-07Immediately flush output to stdout/stderr so that logs are not mixed on CIKOBAYASHI Shuji
Set in build configuration to enable on all CI platforms.
2020-12-21Fix typo in `.github/workflows/build.yml` [skip travis][skip appveyor]KOBAYASHI Shuji
2020-12-20Use `git ls-files` instead of `find` in `spell-checker.yml` [ci skip]KOBAYASHI Shuji
To avoid including `.git` directory.
2020-12-20Reorganize GitHub Actions configuration [skip travis][skip appveyor]KOBAYASHI Shuji
* Skip if commit message contains `ci skip`, `skip ci`, or `skip gha` ENCLOSED WITH BRACKETS (excluding lint job). * Separate build and test. This is because builds can be run in parallel, but running tests in parallel can cause logs to get mixed up or not finished. * Don't use Chocolatey because it seems to take 1-2 minutes to start up. * Use the cache better. * Use `actions/checkout@v2` instead of `actions/checkout@v1`. * Remove unnecessary package installation. * Remove unnecessary flag settings. * Remove `-j` for rake because it doesn't seem to have any effect. * Rename `main.yml` to `oss-fuzz.yml` to clarify.
2020-12-19feat(CI): add a GitHub Action to lint the MarkdownJohn Bampton
Run on pull request only Using https://www.npmjs.com/package/markdownlint-cli Lint Markdown for rules: - MD009/no-trailing-spaces - MD012/no-multiple-blanks - MD022/blanks-around-headings - MD031/blanks-around-fences - MD032/blanks-around-lists
2020-12-17feat(CI): add a GitHub Action to check spellingJohn Bampton
- Fix spelling - Run only on pull request - Using https://github.com/client9/misspell
2020-12-16Merge pull request #5224 from jbampton/lint-yamlYukihiro "Matz" Matsumoto
feat(CI): add a GitHub Action to lint the YAML
2020-12-16Rename build configuration files for CIKOBAYASHI Shuji
Currently, there are build configuration files for CI, `travis.rb` and `appveyor.rb`, but they are used for GCC/Clang and MSVC, not for Travis CI and Appveyor, respectively. Therefore, rename them to `gcc-clang.rb` and `msvc.rb`, respectively, and move them under `build_config/ci/` to clarify that they are for CI.
2020-12-15feat(CI): add a GitHub Action to lint the YAMLJohn Bampton
- Run only on pull request - Add a `.yamllint` config file - Lint YAML
2020-12-15refactor: remove trailing whitespace from C, Header, Ruby and YAML filesJohn Bampton
Lint
2020-11-17Fix deprecated `set-env` command error on GitHub Actions [ci skip]KOBAYASHI Shuji
I tried `$GITHUB_PATH` and `$GITHUB_ENV` instead of `set-env`, but for some reason path was not recognized, so I changed to using `ACTIONS_ALLOW_UNSECURE_COMMANDS`.
2020-10-19Revert `MRUBY_TARGET` mechanism; ref #5096KOBAYASHI Shuji
* In explanation of mruby, the expression `build_config.rb` is frequently used including official documents, so I think that it will not make sense if the file is no longer used. * The `MRUBY_TARGET` mechanism seems to have little improvement, so I don't think it should be changed to avoid unnecessary confusion. * `MRUBY_TARGET` and `MRuby.targets` represent somewhat different things, so using the same term "target" is a bit confusing. The mechanism that can be written short when using a file under `build_config` (renamed from `target`) directory remains (`build_config/${MRUBY_CONFIG}.rb` is used if the path specified in `MRUBY_CONFIG` doesn't exist).
2020-10-12Fix wrong YAML in `.github/workflows/build.yml`.Yukihiro "Matz" Matsumoto
2020-10-12Invoke `rake gensym` for GitHub action build.Yukihiro "Matz" Matsumoto
2020-10-12Add explicit `gensym` to GitHub Actions.Yukihiro "Matz" Matsumoto
2020-10-12Avoid use of designated initializers to generate `irep` struct.Yukihiro "Matz" Matsumoto
Since it's not supported on VC without `/std:c++latest`. That means it doesn't work for `cxx_api` build on Windows VC.
2020-10-12Add `/std:c++latest` to VC option in `build.yml`.Yukihiro "Matz" Matsumoto
2020-10-12Specify new `MRUBY_TARGET` instead of `MRUBY_CONFIG`.Yukihiro "Matz" Matsumoto
2020-10-12Stop Rake multitasking on Windows-VC for the time being.Yukihiro "Matz" Matsumoto
2020-10-12Remove `rake -v` option from GitHub Actions.Yukihiro "Matz" Matsumoto
2020-10-12Use the newer `bison` on GitHub actions macOS; ref #4903Yukihiro "Matz" Matsumoto
`Windows-MinGW` and `Windows-VC` also requires updates.
2020-10-12Start GitHub Actions; close #4903Takeshi Watanabe
2020-07-07remove verbose test outputRory OConnell
2020-07-07fix rake -m for separating build and test stepsRory OConnell
2020-07-05try not separating build and test stepsRory OConnell
2020-07-05use verbose test output. use correct config file this timeRory OConnell
2020-07-05use correct config fileRory OConnell
2020-07-05separate build and test steps, remove MSCRory OConnell
2020-06-29update CI settings for WindowsRory OConnell
2020-06-23Create codeql-analysis.ymlYukihiro "Matz" Matsumoto
2020-06-04Remove `rake -v` option from GitHub Actions.Yukihiro "Matz" Matsumoto
2020-06-04Remove `bison` installation from GitHub Actions.Yukihiro "Matz" Matsumoto
2020-05-26Specify the latest `bison` on macOS; ref #4903Yukihiro "Matz" Matsumoto
2020-05-24Use the newer `bison` on GitHub actions macOS; ref #4903Yukihiro "Matz" Matsumoto
`Windows-MinGW` and `Windows-VC` also requires updates.
2020-05-24Start GitHub Actions; close #4903Takeshi Watanabe
2020-02-21CIFuzz actionLeo Neat