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

338 Коммитов

Автор SHA1 Сообщение Дата
卜部昌平 cb4e2cb55a .github/workflows/compilers.yml: disable shared for LTO
LTO is about static links.  Makes no sense to have DLLs.
2021-09-10 20:00:06 +09:00
卜部昌平 0de84bb763 .github/workflows/baseruby.yml: check Ruby 3.0
Why not?
2021-09-10 20:00:06 +09:00
卜部昌平 488ef54f0b .github/workflows/compilers.yml: --enable-shared
Noticed that defs/gmake.mk has `exts: rubyspec-capiext` dependency only
when $ENABLE_SHARED is true.  This one adds extra tests so we basically
welcome.  Why not default it on.
2021-09-10 20:00:06 +09:00
Nobuyoshi Nakada a5e323f5ed
Schedule to update bundled_gems 2021-09-06 15:17:04 +09:00
Nobuyoshi Nakada 83a744dd8c
Unify configure steps 2021-08-30 17:15:57 +09:00
Nobuyoshi Nakada a40f9c4a51
Fix empty values to booleans 2021-08-30 01:30:13 +09:00
Nobuyoshi Nakada 394498b878
[Windows CI] Stop VS-2022
We have previewed it, and know it doesn't work well now.
2021-08-28 18:21:47 +09:00
Nobuyoshi Nakada 47a2ea4df5
[Windows CI] Stop on error in VS-2022 2021-08-28 18:21:44 +09:00
Nobuyoshi Nakada 76e8cfd158
[Windows CI] Setup env 2021-08-28 18:21:39 +09:00
Nobuyoshi Nakada 3711467362
[Windows CI] Set PATCH path 2021-08-27 09:34:53 +09:00
Nobuyoshi Nakada a2831cf247
[Windows CI] Make test-all parallel and verbose 2021-08-27 09:34:53 +09:00
Nobuyoshi Nakada 8a754bc5c9
[Windows CI] Group nmake step 2021-08-27 09:34:53 +09:00
Nobuyoshi Nakada fbdd1c6a79
[Windows CI] Moved parameters to include 2021-08-27 09:34:52 +09:00
Kazuhiro NISHIYAMA ef10e8a1eb Use patch installed by msys2/setup-msys2 2021-08-26 19:47:48 +09:00
Kazuhiro NISHIYAMA 79a3e89dae Use bundled libffi on windows-2022 2021-08-26 19:47:48 +09:00
Kazuhiro NISHIYAMA 5550c2719a Install patch
Because patch does not installed on windows-2022.

https://github.com/actions/virtual-environments/issues/3949
> Only pure MSYS2 is installed. No additional packages
2021-08-26 19:47:48 +09:00
Kazuhiro NISHIYAMA 69615251f9 Ignore errors on windows-2022
https://github.com/ruby/ruby/pull/4775/checks?check_run_id=3419490832#step:13:38
2021-08-26 19:47:48 +09:00
Kazuhiro NISHIYAMA d96ba8c5c3 Use newer libffi on windows-2022 2021-08-26 19:47:48 +09:00
Kazuhiro NISHIYAMA b1f58d3e91 Set VCVARS 2021-08-26 19:47:48 +09:00
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