diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-12-10 17:41:39 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 17:41:39 +0900 |
commit | 46d3ea2c2569e2e5a9ee3e7e206f07f0f8b693f5 (patch) | |
tree | 361d3f276c4167e04d3a58350289370041caded9 /.github/workflows | |
parent | 9e8f732f397ec73ebcab2d121f02c909c8f06755 (diff) | |
download | ruby-46d3ea2c2569e2e5a9ee3e7e206f07f0f8b693f5.tar.gz |
.github: reduce (#3876)
Comment out some 50-ish tests.
fix https://bugs.ruby-lang.org/issues/17376
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/baseruby.yml | 8 | ||||
-rw-r--r-- | .github/workflows/compilers.yml | 104 | ||||
-rw-r--r-- | .github/workflows/spec_guards.yml | 2 | ||||
-rw-r--r-- | .github/workflows/ubuntu.yml | 5 |
4 files changed, 61 insertions, 58 deletions
diff --git a/.github/workflows/baseruby.yml b/.github/workflows/baseruby.yml index ff44f91755..bdb9011f25 100644 --- a/.github/workflows/baseruby.yml +++ b/.github/workflows/baseruby.yml @@ -11,10 +11,10 @@ jobs: matrix: ruby: - ruby-2.2 - - ruby-2.3 - - ruby-2.4 - - ruby-2.5 - - ruby-2.6 +# - ruby-2.3 +# - ruby-2.4 +# - ruby-2.5 +# - ruby-2.6 - ruby-2.7 steps: diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index 7ab65fe9af..532e4589e2 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -48,21 +48,21 @@ jobs: matrix: entry: - { key: default_cc, name: gcc-10, value: gcc-10 } - - { key: default_cc, name: gcc-9, value: gcc-9 } - - { key: default_cc, name: gcc-8, value: gcc-8 } - - { key: default_cc, name: gcc-7, value: gcc-7 } - - { key: default_cc, name: gcc-6, value: gcc-6 } - - { key: default_cc, name: gcc-5, value: gcc-5 } +# - { key: default_cc, name: gcc-9, value: gcc-9 } +# - { key: default_cc, name: gcc-8, value: gcc-8 } +# - { key: default_cc, name: gcc-7, value: gcc-7 } +# - { key: default_cc, name: gcc-6, value: gcc-6 } +# - { key: default_cc, name: gcc-5, value: gcc-5 } - { key: default_cc, name: gcc-4.8, value: gcc-4.8 } - { key: default_cc, name: clang-12, value: clang-12 } - - { key: default_cc, name: clang-11, value: clang-11 } - - { key: default_cc, name: clang-10, value: clang-10 } - - { key: default_cc, name: clang-9, value: clang-9 } - - { key: default_cc, name: clang-8, value: clang-8 } - - { key: default_cc, name: clang-7, value: clang-7 } - - { key: default_cc, name: clang-6.0, value: clang-6.0 } - - { key: default_cc, name: clang-5.0, value: clang-5.0 } - - { key: default_cc, name: clang-4.0, value: clang-4.0 } +# - { key: default_cc, name: clang-11, value: clang-11 } +# - { key: default_cc, name: clang-10, value: clang-10 } +# - { key: default_cc, name: clang-9, value: clang-9 } +# - { key: default_cc, name: clang-8, value: clang-8 } +# - { key: default_cc, name: clang-7, value: clang-7 } +# - { key: default_cc, name: clang-6.0, value: clang-6.0 } +# - { key: default_cc, name: clang-5.0, value: clang-5.0 } +# - { key: default_cc, name: clang-4.0, value: clang-4.0 } - { key: default_cc, name: clang-3.9, value: clang-3.9 } - { key: crosshost, name: aarch64-linux-gnu, value: aarch64-linux-gnu } @@ -75,17 +75,17 @@ jobs: - { key: crosshost, name: x86_64-w64-mingw32, value: x86_64-w64-mingw32 } - { key: append_cc, name: c99, value: '-std=c99 -Werror=pedantic -pedantic-errors' } - - { key: append_cc, name: c11, value: '-std=c11 -Werror=pedantic -pedantic-errors' } - - { key: append_cc, name: c17, value: '-std=c17 -Werror=pedantic -pedantic-errors' } +# - { key: append_cc, name: c11, value: '-std=c11 -Werror=pedantic -pedantic-errors' } +# - { key: append_cc, name: c17, value: '-std=c17 -Werror=pedantic -pedantic-errors' } - { key: append_cc, name: c2x, value: '-std=c2x -Werror=pedantic -pedantic-errors' } - { key: CXXFLAGS, name: c++98, value: '-std=c++98 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } - - { key: CXXFLAGS, name: c++11, value: '-std=c++11 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } - - { key: CXXFLAGS, name: c++14, value: '-std=c++14 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } - - { key: CXXFLAGS, name: c++17, value: '-std=c++17 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } +# - { key: CXXFLAGS, name: c++11, value: '-std=c++11 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } +# - { key: CXXFLAGS, name: c++14, value: '-std=c++14 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } +# - { key: CXXFLAGS, name: c++17, value: '-std=c++17 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } - { key: CXXFLAGS, name: c++2a, value: '-std=c++2a -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } - { key: optflags, name: '-O0', value: '-O0 -march=x86-64 -mtune=generic' } - - { key: optflags, name: '-O3', value: '-O3 -march=x86-64 -mtune=generic' } +# - { key: optflags, name: '-O3', value: '-O3 -march=x86-64 -mtune=generic' } - { key: append_configure, name: gmp, value: '--with-gmp' } - { key: append_configure, name: jemalloc, value: '--with-jemalloc' } @@ -102,54 +102,54 @@ jobs: - { key: cppflags, name: NDEBUG, value: '-DNDEBUG' } - { key: cppflags, name: RUBY_DEBUG, value: '-DRUBY_DEBUG' } - - { key: cppflags, name: ARRAY_DEBUG, value: '-DARRAY_DEBUG' } - - { key: cppflags, name: BIGNUM_DEBUG, value: '-DBIGNUM_DEBUG' } - - { key: cppflags, name: CCAN_LIST_DEBUG, value: '-DCCAN_LIST_DEBUG' } - - { key: cppflags, name: CPDEBUG=-1, value: '-DCPDEBUG=-1' } - - { key: cppflags, name: ENC_DEBUG, value: '-DENC_DEBUG' } - - { key: cppflags, name: GC_DEBUG, value: '-DGC_DEBUG' } - - { key: cppflags, name: HASH_DEBUG, value: '-DHASH_DEBUG' } - - { key: cppflags, name: ID_TABLE_DEBUG, value: '-DID_TABLE_DEBUG' } - - { key: cppflags, name: RGENGC_DEBUG=-1, value: '-DRGENGC_DEBUG=-1' } - - { key: cppflags, name: SYMBOL_DEBUG, value: '-DSYMBOL_DEBUG' } - - { key: cppflags, name: THREAD_DEBUG=-1, value: '-DTHREAD_DEBUG=-1' } - - - { key: cppflags, name: RGENGC_CHECK_MODE, value: '-DRGENGC_CHECK_MODE' } - - { key: cppflags, name: TRANSIENT_HEAP_CHECK_MODE, value: '-DTRANSIENT_HEAP_CHECK_MODE' } - - { key: cppflags, name: VM_CHECK_MODE, value: '-DVM_CHECK_MODE' } +# - { key: cppflags, name: ARRAY_DEBUG, value: '-DARRAY_DEBUG' } +# - { key: cppflags, name: BIGNUM_DEBUG, value: '-DBIGNUM_DEBUG' } +# - { key: cppflags, name: CCAN_LIST_DEBUG, value: '-DCCAN_LIST_DEBUG' } +# - { key: cppflags, name: CPDEBUG=-1, value: '-DCPDEBUG=-1' } +# - { key: cppflags, name: ENC_DEBUG, value: '-DENC_DEBUG' } +# - { key: cppflags, name: GC_DEBUG, value: '-DGC_DEBUG' } +# - { key: cppflags, name: HASH_DEBUG, value: '-DHASH_DEBUG' } +# - { key: cppflags, name: ID_TABLE_DEBUG, value: '-DID_TABLE_DEBUG' } +# - { key: cppflags, name: RGENGC_DEBUG=-1, value: '-DRGENGC_DEBUG=-1' } +# - { key: cppflags, name: SYMBOL_DEBUG, value: '-DSYMBOL_DEBUG' } +# - { key: cppflags, name: THREAD_DEBUG=-1, value: '-DTHREAD_DEBUG=-1' } + +# - { key: cppflags, name: RGENGC_CHECK_MODE, value: '-DRGENGC_CHECK_MODE' } +# - { key: cppflags, name: TRANSIENT_HEAP_CHECK_MODE, value: '-DTRANSIENT_HEAP_CHECK_MODE' } +# - { key: cppflags, name: VM_CHECK_MODE, value: '-DVM_CHECK_MODE' } - { key: cppflags, name: USE_EMBED_CI=0, value: '-DUSE_EMBED_CI=0' } - { key: cppflags, name: USE_FLONUM=0, value: '-DUSE_FLONUM=0' } # - { key: cppflags, name: USE_GC_MALLOC_OBJ_INFO_DETAILS, value: '-DUSE_GC_MALLOC_OBJ_INFO_DETAILS' } - { key: cppflags, name: USE_LAZY_LOAD, value: '-DUSE_LAZY_LOAD' } - - { key: cppflags, name: USE_RINCGC=0, value: '-DUSE_RINCGC=0' } - - { key: cppflags, name: USE_SYMBOL_GC=0, value: '-DUSE_SYMBOL_GC=0' } - - { key: cppflags, name: USE_THREAD_CACHE=0, value: '-DUSE_THREAD_CACHE=0' } - - { key: cppflags, name: USE_TRANSIENT_HEAP=0, value: '-DUSE_TRANSIENT_HEAP=0' } - - { key: cppflags, name: USE_RUBY_DEBUG_LOG=1, value: '-DUSE_RUBY_DEBUG_LOG=1' } +# - { key: cppflags, name: USE_RINCGC=0, value: '-DUSE_RINCGC=0' } +# - { key: cppflags, name: USE_SYMBOL_GC=0, value: '-DUSE_SYMBOL_GC=0' } +# - { key: cppflags, name: USE_THREAD_CACHE=0, value: '-DUSE_THREAD_CACHE=0' } +# - { key: cppflags, name: USE_TRANSIENT_HEAP=0, value: '-DUSE_TRANSIENT_HEAP=0' } +# - { key: cppflags, name: USE_RUBY_DEBUG_LOG=1, value: '-DUSE_RUBY_DEBUG_LOG=1' } - { key: cppflags, name: DEBUG_FIND_TIME_NUMGUESS, value: '-DDEBUG_FIND_TIME_NUMGUESS' } - { key: cppflags, name: DEBUG_INTEGER_PACK, value: '-DDEBUG_INTEGER_PACK' } - { key: cppflags, name: ENABLE_PATH_CHECK, value: '-DENABLE_PATH_CHECK' } - { key: cppflags, name: GC_DEBUG_STRESS_TO_CLASS, value: '-DGC_DEBUG_STRESS_TO_CLASS' } - - { key: cppflags, name: GC_ENABLE_LAZY_SWEEP=0, value: '-DGC_ENABLE_LAZY_SWEEP=0' } - - { key: cppflags, name: GC_PROFILE_DETAIL_MEMOTY, value: '-DGC_PROFILE_DETAIL_MEMOTY' } - - { key: cppflags, name: GC_PROFILE_MORE_DETAIL, value: '-DGC_PROFILE_MORE_DETAIL' } +# - { key: cppflags, name: GC_ENABLE_LAZY_SWEEP=0, value: '-DGC_ENABLE_LAZY_SWEEP=0' } +# - { key: cppflags, name: GC_PROFILE_DETAIL_MEMOTY, value: '-DGC_PROFILE_DETAIL_MEMOTY' } +# - { key: cppflags, name: GC_PROFILE_MORE_DETAIL, value: '-DGC_PROFILE_MORE_DETAIL' } - - { key: cppflags, name: CALC_EXACT_MALLOC_SIZE, value: '-DCALC_EXACT_MALLOC_SIZE' } - - { key: cppflags, name: MALLOC_ALLOCATED_SIZE_CHECK, value: '-DMALLOC_ALLOCATED_SIZE_CHECK' } +# - { key: cppflags, name: CALC_EXACT_MALLOC_SIZE, value: '-DCALC_EXACT_MALLOC_SIZE' } +# - { key: cppflags, name: MALLOC_ALLOCATED_SIZE_CHECK, value: '-DMALLOC_ALLOCATED_SIZE_CHECK' } - - { key: cppflags, name: IBF_ISEQ_ENABLE_LOCAL_BUFFER, value: '-DIBF_ISEQ_ENABLE_LOCAL_BUFFER' } +# - { key: cppflags, name: IBF_ISEQ_ENABLE_LOCAL_BUFFER, value: '-DIBF_ISEQ_ENABLE_LOCAL_BUFFER' } - - { key: cppflags, name: RGENGC_ESTIMATE_OLDMALLOC, value: '-DRGENGC_ESTIMATE_OLDMALLOC' } - - { key: cppflags, name: RGENGC_FORCE_MAJOR_GC, value: '-DRGENGC_FORCE_MAJOR_GC' } - - { key: cppflags, name: RGENGC_OBJ_INFO, value: '-DRGENGC_OBJ_INFO' } - - { key: cppflags, name: RGENGC_OLD_NEWOBJ_CHECK, value: '-DRGENGC_OLD_NEWOBJ_CHECK' } - - { key: cppflags, name: RGENGC_PROFILE, value: '-DRGENGC_PROFILE' } +# - { key: cppflags, name: RGENGC_ESTIMATE_OLDMALLOC, value: '-DRGENGC_ESTIMATE_OLDMALLOC' } +# - { key: cppflags, name: RGENGC_FORCE_MAJOR_GC, value: '-DRGENGC_FORCE_MAJOR_GC' } +# - { key: cppflags, name: RGENGC_OBJ_INFO, value: '-DRGENGC_OBJ_INFO' } +# - { key: cppflags, name: RGENGC_OLD_NEWOBJ_CHECK, value: '-DRGENGC_OLD_NEWOBJ_CHECK' } +# - { key: cppflags, name: RGENGC_PROFILE, value: '-DRGENGC_PROFILE' } - - { key: cppflags, name: VM_DEBUG_BP_CHECK, value: '-DVM_DEBUG_BP_CHECK' } - - { key: cppflags, name: VM_DEBUG_VERIFY_METHOD_CACHE, value: '-DVM_DEBUG_VERIFY_METHOD_CACHE' } +# - { key: cppflags, name: VM_DEBUG_BP_CHECK, value: '-DVM_DEBUG_BP_CHECK' } +# - { key: cppflags, name: VM_DEBUG_VERIFY_METHOD_CACHE, value: '-DVM_DEBUG_VERIFY_METHOD_CACHE' } - { key: cppflags, name: MJIT_FORCE_ENABLE, value: '-DMJIT_FORCE_ENABLE' } diff --git a/.github/workflows/spec_guards.yml b/.github/workflows/spec_guards.yml index 65d1a65807..75b7d1220a 100644 --- a/.github/workflows/spec_guards.yml +++ b/.github/workflows/spec_guards.yml @@ -13,7 +13,7 @@ jobs: # This also ensures the needed ruby_version_is guards are there, see spec/README.md. ruby: - ruby-2.5 - - ruby-2.6 +# - ruby-2.6 - ruby-2.7 steps: diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 38649d3f67..fe517d2750 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -5,7 +5,10 @@ jobs: strategy: matrix: test_task: [ "check", "test-bundler-parallel", "test-bundled-gems", "test-all TESTS=--repeat-count=2", "leaked-globals" ] - os: [ubuntu-20.04, ubuntu-18.04, ubuntu-16.04] + os: + - ubuntu-20.04 +# - ubuntu-18.04 +# - ubuntu-16.04 debug: ["", "-DRUBY_DEBUG"] exclude: - test_task: test-bundler-parallel |