Граф коммитов

319 Коммитов

Автор SHA1 Сообщение Дата
Kazuhiro NISHIYAMA 5e65f31b5a Add Windows Server 2022 with Visual Studio 2022
https://github.blog/changelog/2021-08-23-github-actions-windows-server-2022-with-visual-studio-2022-is-now-available-on-github-hosted-runners-public-beta/
2021-08-26 19:47:48 +09:00
Jun Aruga 2be84afea5 .github/workflows/compilers.yml: Specify a container running user as root.
Explicitly specify the root as a user to run tests in the containers.

Coming new ruby/ruby-ci-image images are required to run the container as
a regular user by default, while the root user is required to run the
compilers.yml. Add `id` command to print the user info.

Co-authored-by: fedor <fedor@cirruslabs.org>
2021-08-24 10:55:24 +02:00
Yusuke Endoh 164f50dea9 Update TypeProf to 0.15.1 2021-08-15 23:31:35 +09:00
Kazuki Tsujimoto 4568ba0711
Show verbose error messages when single pattern match fails
[0] => [0, *, a]
    #=> [0] length mismatch (given 1, expected 2+) (NoMatchingPatternError)

Ignore test failures of typeprof caused by this change for now.
2021-08-15 09:38:24 +09:00
Nobuyoshi Nakada 244fc65d1c
Disable checks for LTO [ci skip] 2021-08-15 00:20:38 +09:00
Nobuyoshi Nakada 29dd70492e
Add checks for gcc/clang with LTO 2021-08-14 23:23:55 +09:00
Nobuyoshi Nakada 7ac440910c
Separate jobs conditions 2021-08-12 13:46:31 +09:00
卜部昌平 510c3655c9 .github/workflows/compilers.yml: clang-14
It seems LLVM-14 begun.

See also
08c766a731
2021-08-10 09:24:48 +09:00
Hiroshi SHIBATA 731315bf55 Use codeql-config.yml for codeql-action/init 2021-08-02 17:23:18 +09:00
Hiroshi SHIBATA 0292ec9b8a Removed paths-ignore because it's not affect with cpp 2021-08-02 17:23:18 +09:00
Hiroshi SHIBATA 954852f7a6 Removed unnecessary configuration for the latest version of actions/checkout 2021-08-02 17:23:18 +09:00
Hiroshi SHIBATA 8b466ea5fc Use `${{}}` for if statement 2021-08-02 12:39:50 +09:00
Nobuyoshi Nakada b90ca734f3
Ubuntu: remove pthread coroutine which is done in Compilations 2021-07-08 17:57:47 +09:00
Jeremy Evans e8933fda0c Remove gdbm/dbm related code from CI
The related extensions have been removed.
2021-07-01 14:47:31 -07:00
Samuel Williams 1467328edc
More general matrix "configure" parameter, add `--with-coroutine=pthread`. 2021-07-01 11:23:03 +12:00
Samuel Williams 42130a64f0
Replace copy coroutine with pthread implementation. 2021-07-01 11:23:03 +12:00
Nobuyoshi Nakada f4640f64a4
Fixed comments in cmd.exe script [ci skip] 2021-06-16 14:31:02 +09:00
Yusuke Endoh bc126d91fe Skip make update-unicode for BASERUBY CI
Unfortunately it often fails depending on the status of www.unicode.org.

https://github.com/mame/ruby/runs/2761346164?check_suite_focus=true
```
./tool/downloader.rb:248:in `rescue in download': failed to download 12.1.0/ucd/UnicodeData.txt (RuntimeError)
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed: https://www.unicode.org/Public/12.1.0/ucd/UnicodeData.txt
```
2021-06-07 16:22:18 +09:00
Takashi Kokubun e1b03b0c2b
Enable VM_ASSERT in --jit CIs (#4543) 2021-06-01 00:15:51 -07:00
Takashi Kokubun b9019c1ae8
Revert "Try enabling VM_ASSERT in --jit CIs"
This reverts commit e9e3b65d83.

We were not ready for it
https://github.com/ruby/ruby/runs/2715306375?check_suite_focus=true
2021-05-31 22:46:56 -07:00
Takashi Kokubun e9e3b65d83
Try enabling VM_ASSERT in --jit CIs 2021-05-31 21:50:55 -07:00
Hiroshi SHIBATA 6e6be107dd
Ignore test-bundled-gems on GitHub Actions because matrix tests has unknown issues 2021-05-28 13:02:04 +09:00
Kazuhiro NISHIYAMA 6674dd61fd
Remove ubuntu-16.04 (already commented out)
https://github.blog/changelog/2021-04-29-github-actions-ubuntu-16-04-lts-virtual-environment-will-be-removed-on-september-20-2021
2021-05-18 18:51:15 +09:00
Hiroshi SHIBATA 1f91627c8e
Removed EOL version from .github/workflows/spec_guards.yml 2021-05-17 19:22:52 +09:00
Takashi Kokubun cc1ea6e023
Run nmake check on Actions (#4487)
* Run nmake check on Actions

* Skip tests not working in mswin GitHub Actions

* Override TEMP

* Revert "Skip tests not working in mswin GitHub Actions"

This reverts commit 544d2575fcdf23ae63cd25aa03fce10c28b259f2.

* Revert "Revert "Skip tests not working in mswin GitHub Actions""

This reverts commit e1f8ad7862c9c4be52dc6e1031a004621eb07e6e.

* Fix timeouts

* Skip some more broken tests

* Update windows.yml

* Add a guard for rbasic_spec

* Revert "Update windows.yml"

This reverts commit bc9694b6b3b9594d406378d15ca11723fb052bc8.

* Skip the ensure clause

* Simplify the ensure
2021-05-11 15:18:44 -07:00
Takashi Kokubun 7c346e1072
Split a Choco-Install command
In https://github.com/ruby/ruby/runs/2552065052, while it failed to
install winflexbison3, it exited the retry loop because openssl was
installed successfully.

a5ee51f72d/images/win/scripts/ImageHelpers/ChocoHelpers.ps1
2021-05-10 21:33:56 -07:00
Takashi Kokubun 3c9e30aef8
Try running Choco-Install with powershell
https://github.com/ruby/ruby/runs/2552047430
2021-05-10 21:17:36 -07:00
Takashi Kokubun 4ee72f4afd
Retry choco install
by using a wrapper provided by GitHub Actions
https://github.com/actions/virtual-environments/pull/721

to address failures like
https://github.com/ruby/ruby/runs/2551980671
2021-05-10 21:14:00 -07:00
卜部昌平 4785d6087a .github/compilers/workflows.yml: support GCC-11
GCC 11.1 was released. https://gcc.gnu.org/pipermail/gcc/2021-April/235922.html

See also https://github.com/ruby/ruby-ci-image/pull/1
2021-05-11 09:07:33 +09:00
Nobuyoshi Nakada d825e34962
Use autogen.sh 2021-04-08 20:36:58 +09:00
Nobuyoshi Nakada 602d09a181
Suppress useless default branch name hint [ci skip] 2021-03-08 13:39:55 +09:00
Nobuyoshi Nakada b1f375ccc5
Removed HEAD^2 checkout to suppress a CodeQL annotation [ci skip] 2021-03-08 12:10:12 +09:00
Nobuyoshi Nakada dea08758be
Check for trailing spaces 2021-03-04 11:40:43 +09:00
Benoit Daloze 8305a48413 Add --timeout to try to find hanging spec 2021-02-27 17:42:17 +01:00
Takashi Kokubun b956efdc1e
Drop obsoleted ci skip checks
https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
2021-02-22 23:46:12 -08:00
Takashi Kokubun 95251dc8a9
Drop check_branch CI job
Now that GitHub Actions always skips any job if [ci skip] is given
regardless of our CI config, we cannot merge such PRs like https://github.com/ruby/ruby/pull/4211
unless you're an admin.
https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/

To avoid letting us spend time to ask contributors to remove [ci skip]
before merging PRs, I removed the "check_branch" requirement from
protected branches.

Because the main purpose of this job was to prevent (non-admin)
committers from directly pushing commits to the GitHub mirror, this job
is now useless.
2021-02-22 23:45:04 -08:00
卜部昌平 281dfacb5d .github/workflows/compilers.yml: clang-13
LLVM made release/122.x branch.  Its master is now version 12.
2021-02-10 12:54:05 +09:00
Nobuyoshi Nakada 52ce583f52
Stop disabling firewall 2021-02-06 13:13:58 +09:00
Nobuyoshi Nakada fcdccbff01
travis_retry.sh is not needed on GitHub Actions
At least check_dependencies.yml has not failed here yet.
2021-02-05 10:12:17 +09:00
Nobuyoshi Nakada b03aa7dcd7
Use the lateset winflexbison3
The installation script fault seems fixed at 2.5.23.20200904.
2021-02-02 16:12:16 +09:00
Nobuyoshi Nakada e350b32837
Add some git configurations in CIs 2021-02-02 14:54:53 +09:00
Nobuyoshi Nakada 5a33ef0586
Set git config in global instead of system 2021-02-02 14:37:15 +09:00
Nobuyoshi Nakada 72549cfe98
Removed ENABLE_PATH_CHECK condition [ci skip]
This condition is useless on Ubuntu, as this macro is defined by
default on other than Windows.
2021-01-11 19:46:31 +09:00
Nobuyoshi Nakada 1e827d4cb5
Moved to ruby/actions workflow [ci skip] 2021-01-10 20:42:01 +09:00
Nobuyoshi Nakada 758ac834a2
Daily bundled_gems update [ci skip] 2021-01-04 16:42:44 +09:00
Nobuyoshi Nakada b73d256f34
Check leaked global symbols under more various conditions 2020-12-27 15:50:02 +09:00
Nobuyoshi Nakada 3a0a08697a
Add 3.0 top sepc guards
* Needs WEBrick
2020-12-26 17:09:25 +09:00
Nobuyoshi Nakada 73cd4951de Reduced GitHub Actions
Moved leaked-globals before check.
2020-12-26 09:39:53 +09:00
Takashi Kokubun 02b3555874
Install gdb on Actions 2020-12-19 21:02:18 -08:00
Nobuyoshi Nakada 042c3e91fb
Check macros for headers 2020-12-19 16:38:17 +09:00