2020-04-08 00:28:13 -04:00
|
|
|
name: Compilations
|
|
|
|
|
2021-10-28 11:02:07 -04:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths-ignore:
|
|
|
|
- 'doc/**'
|
|
|
|
- '**.md'
|
|
|
|
- '**.rdoc'
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- 'doc/**'
|
|
|
|
- '**.md'
|
|
|
|
- '**.rdoc'
|
2020-04-08 00:28:13 -04:00
|
|
|
|
2021-11-18 08:21:05 -05:00
|
|
|
concurrency:
|
2021-11-21 05:17:27 -05:00
|
|
|
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
|
|
|
|
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
|
2021-11-18 08:21:05 -05:00
|
|
|
|
2022-04-18 01:08:42 -04:00
|
|
|
# GitHub actions does not support YAML anchors. This creative use of
|
2021-08-08 03:59:07 -04:00
|
|
|
# environment variables (plus the "echo $GITHUB_ENV" hack) is to reroute that
|
2020-04-08 00:28:13 -04:00
|
|
|
# restriction.
|
|
|
|
env:
|
2022-04-20 03:05:37 -04:00
|
|
|
default_cc: clang-14
|
2020-04-08 00:28:13 -04:00
|
|
|
append_cc: ''
|
2020-08-22 01:41:06 -04:00
|
|
|
crosshost: ''
|
2020-04-08 00:28:13 -04:00
|
|
|
|
|
|
|
# -O1 is faster than -O3 in our tests... Majority of time are consumed trying
|
2022-04-18 01:08:42 -04:00
|
|
|
# to optimize binaries. Also GitHub Actions run on relatively modern CPUs
|
2020-04-08 00:28:13 -04:00
|
|
|
# compared to, say, GCC 4 or Clang 3. We don't specify `-march=native`
|
|
|
|
# because compilers tend not understand what the CPU is.
|
2020-08-22 01:41:06 -04:00
|
|
|
optflags: '-O1'
|
2020-04-08 00:28:13 -04:00
|
|
|
|
|
|
|
# -g0 disables backtraces when SEGV. Do not set that.
|
|
|
|
debugflags: '-ggdb3'
|
|
|
|
|
|
|
|
default_configure: >-
|
|
|
|
--enable-debug-env
|
|
|
|
--disable-install-doc
|
|
|
|
--with-ext=-test-/cxxanyargs,+
|
|
|
|
append_configure: >-
|
|
|
|
--without-valgrind
|
|
|
|
--without-jemalloc
|
|
|
|
--without-gmp
|
|
|
|
|
|
|
|
UPDATE_UNICODE: >-
|
|
|
|
UNICODE_FILES=.
|
|
|
|
UNICODE_PROPERTY_FILES=.
|
|
|
|
UNICODE_AUXILIARY_FILES=.
|
|
|
|
UNICODE_EMOJI_FILES=.
|
|
|
|
CONFIGURE_TTY: never
|
2020-06-03 21:26:40 -04:00
|
|
|
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
2020-04-08 00:28:13 -04:00
|
|
|
RUBY_DEBUG: ci rgengc
|
|
|
|
RUBY_TESTOPTS: >-
|
|
|
|
-q
|
|
|
|
--color=always
|
|
|
|
--tty=no
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
compile:
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2022-05-10 10:34:08 -04:00
|
|
|
env:
|
|
|
|
- {}
|
2020-04-08 00:28:13 -04:00
|
|
|
entry:
|
2021-05-09 23:15:41 -04:00
|
|
|
- { key: default_cc, name: gcc-11, value: gcc-11, container: gcc-11 }
|
|
|
|
- { key: default_cc, name: gcc-10, value: gcc-10, container: gcc-10 }
|
|
|
|
- { key: default_cc, name: gcc-9, value: gcc-9, container: gcc-9 }
|
|
|
|
- { key: default_cc, name: gcc-8, value: gcc-8, container: gcc-8 }
|
|
|
|
- { key: default_cc, name: gcc-7, value: gcc-7, container: gcc-7 }
|
|
|
|
- { key: default_cc, name: gcc-6, value: gcc-6, container: gcc-6 }
|
|
|
|
- { key: default_cc, name: gcc-5, value: gcc-5, container: gcc-5 }
|
|
|
|
- { key: default_cc, name: gcc-4.8, value: gcc-4.8, container: gcc-4.8 }
|
2021-08-14 10:10:55 -04:00
|
|
|
- key: default_cc
|
|
|
|
name: 'gcc-11 LTO'
|
2022-04-25 13:30:00 -04:00
|
|
|
value: 'gcc-11 -flto=auto -ffat-lto-objects'
|
2021-08-14 10:10:55 -04:00
|
|
|
container: gcc-11
|
2022-04-25 13:30:00 -04:00
|
|
|
configure_append: '--disable-shared optflags=-O2'
|
2021-08-14 11:20:38 -04:00
|
|
|
# check: true
|
2022-05-10 10:34:08 -04:00
|
|
|
- key: default_cc
|
|
|
|
name: 'gcc-11 annocheck'
|
|
|
|
# Minimal flags to pass the check.
|
|
|
|
value: 'gcc-11 -O2 -fcf-protection -Wl,-z,now'
|
|
|
|
container: gcc-11
|
|
|
|
env:
|
|
|
|
# FIXME: Drop skiping options
|
|
|
|
# https://bugs.ruby-lang.org/issues/18061
|
|
|
|
# https://sourceware.org/annobin/annobin.html/Test-pie.html
|
|
|
|
# https://sourceware.org/annobin/annobin.html/Test-notes.html
|
|
|
|
TEST_ANNOCHECK_OPTS: "--skip-pie --skip-notes"
|
|
|
|
check: true
|
2022-02-09 00:12:29 -05:00
|
|
|
- { key: default_cc, name: clang-15, value: clang-15, container: clang-15 }
|
2021-08-08 03:59:07 -04:00
|
|
|
- { key: default_cc, name: clang-14, value: clang-14, container: clang-14 }
|
2021-05-09 23:15:41 -04:00
|
|
|
- { key: default_cc, name: clang-13, value: clang-13, container: clang-13 }
|
|
|
|
- { key: default_cc, name: clang-12, value: clang-12, container: clang-12 }
|
|
|
|
- { key: default_cc, name: clang-11, value: clang-11, container: clang-11 }
|
|
|
|
- { key: default_cc, name: clang-10, value: clang-10, container: clang-10 }
|
|
|
|
- { key: default_cc, name: clang-9, value: clang-9, container: clang-9 }
|
|
|
|
- { key: default_cc, name: clang-8, value: clang-8, container: clang-8 }
|
|
|
|
- { key: default_cc, name: clang-7, value: clang-7, container: clang-7 }
|
|
|
|
- { key: default_cc, name: clang-6.0, value: clang-6.0, container: clang-6.0 }
|
|
|
|
- { key: default_cc, name: clang-5.0, value: clang-5.0, container: clang-5.0 }
|
|
|
|
- { key: default_cc, name: clang-4.0, value: clang-4.0, container: clang-4.0 }
|
|
|
|
- { key: default_cc, name: clang-3.9, value: clang-3.9, container: clang-3.9 }
|
2021-08-14 10:10:55 -04:00
|
|
|
- key: default_cc
|
|
|
|
name: 'clang-14 LTO'
|
2022-04-25 13:30:00 -04:00
|
|
|
value: 'clang-14 -flto=auto'
|
2021-08-14 10:10:55 -04:00
|
|
|
container: clang-14
|
2022-04-25 13:30:00 -04:00
|
|
|
configure_append: '--disable-shared optflags=-O2'
|
2021-08-14 11:20:38 -04:00
|
|
|
# check: true
|
2021-05-09 23:15:41 -04:00
|
|
|
|
2022-03-24 05:01:25 -04:00
|
|
|
# - { key: crosshost, name: aarch64-linux-gnu, value: aarch64-linux-gnu, container: crossbuild-essential-arm64 }
|
2020-08-22 01:41:06 -04:00
|
|
|
# - { key: crosshost, name: arm-linux-gnueabi, value: arm-linux-gnueabi }
|
|
|
|
# - { key: crosshost, name: arm-linux-gnueabihf, value: arm-linux-gnueabihf }
|
|
|
|
# - { key: crosshost, name: i686-w64-mingw32, value: i686-w64-mingw32 }
|
|
|
|
# - { key: crosshost, name: powerpc-linux-gnu, value: powerpc-linux-gnu }
|
2022-03-24 05:01:25 -04:00
|
|
|
# - { key: crosshost, name: powerpc64le-linux-gnu, value: powerpc64le-linux-gnu, container: crossbuild-essential-ppc64el }
|
|
|
|
# - { key: crosshost, name: s390x-linux-gnu, value: s390x-linux-gnu, container: crossbuild-essential-s390x }
|
|
|
|
# - { key: crosshost, name: x86_64-w64-mingw32, value: x86_64-w64-mingw32, container: mingw-w64 }
|
2020-08-22 01:41:06 -04:00
|
|
|
|
2022-04-14 13:33:36 -04:00
|
|
|
# -Wno-strict-prototypes is necessary with current clang-15 since
|
|
|
|
# older autoconf generate functions without prototype and -pedantic
|
|
|
|
# now implies strict-prototypes. Disabling the error but leaving the
|
|
|
|
# warning generates a lot of noise from use of ANYARGS in
|
|
|
|
# rb_define_method() and friends.
|
2022-04-18 01:08:42 -04:00
|
|
|
# See: https://github.com/llvm/llvm-project/commit/11da1b53d8cd3507959022cd790d5a7ad4573d94
|
2022-04-14 13:33:36 -04:00
|
|
|
- { key: append_cc, name: c99, value: '-std=c99 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' }
|
|
|
|
# - { key: append_cc, name: c11, value: '-std=c11 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' }
|
|
|
|
# - { key: append_cc, name: c17, value: '-std=c17 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' }
|
|
|
|
- { key: append_cc, name: c2x, value: '-std=c2x -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' }
|
2020-04-08 00:28:13 -04:00
|
|
|
- { key: CXXFLAGS, name: c++98, value: '-std=c++98 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' }
|
2020-12-10 03:41:39 -05:00
|
|
|
# - { 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' }
|
2020-04-08 00:28:13 -04:00
|
|
|
- { 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' }
|
2021-08-12 00:14:24 -04:00
|
|
|
# - { key: optflags, name: '-O3', value: '-O3 -march=x86-64 -mtune=generic', check: true }
|
2020-04-08 00:28:13 -04:00
|
|
|
|
|
|
|
- { key: append_configure, name: gmp, value: '--with-gmp' }
|
|
|
|
- { key: append_configure, name: jemalloc, value: '--with-jemalloc' }
|
|
|
|
- { key: append_configure, name: valgrind, value: '--with-valgrind' }
|
|
|
|
- { key: append_configure, name: 'coroutine=ucontext', value: '--with-coroutine=ucontext' }
|
2021-06-25 18:17:26 -04:00
|
|
|
- { key: append_configure, name: 'coroutine=pthread', value: '--with-coroutine=pthread' }
|
2020-04-08 00:28:13 -04:00
|
|
|
- { key: append_configure, name: disable-jit-support, value: '--disable-jit-support' }
|
|
|
|
- { key: append_configure, name: disable-dln, value: '--disable-dln' }
|
2022-05-09 11:13:13 -04:00
|
|
|
- { key: append_configure, name: enable-mkmf-verbose, value: '--enable-mkmf-verbose' }
|
2020-04-08 00:28:13 -04:00
|
|
|
- { key: append_configure, name: disable-rubygems, value: '--disable-rubygems' }
|
|
|
|
|
|
|
|
- { key: cppflags, name: OPT_THREADED_CODE=1, value: '-DOPT_THREADED_CODE=1' }
|
|
|
|
- { key: cppflags, name: OPT_THREADED_CODE=2, value: '-DOPT_THREADED_CODE=2' }
|
|
|
|
- { key: cppflags, name: OPT_THREADED_CODE=3, value: '-DOPT_THREADED_CODE=3' }
|
|
|
|
|
|
|
|
- { key: cppflags, name: NDEBUG, value: '-DNDEBUG' }
|
|
|
|
- { key: cppflags, name: RUBY_DEBUG, value: '-DRUBY_DEBUG' }
|
2020-12-10 03:41:39 -05:00
|
|
|
# - { 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' }
|
2020-04-08 00:28:13 -04:00
|
|
|
|
|
|
|
- { 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' }
|
2020-12-10 03:41:39 -05:00
|
|
|
# - { 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' }
|
2022-01-06 09:02:19 -05:00
|
|
|
- { key: cppflags, name: USE_RVARGC=0, value: '-DUSE_RVARGC=0' }
|
|
|
|
# - { key: cppflags, name: USE_RVARGC=1, value: '-DUSE_RVARGC=1' }
|
2020-04-08 00:28:13 -04:00
|
|
|
|
2020-07-26 08:24:07 -04:00
|
|
|
- { key: cppflags, name: DEBUG_FIND_TIME_NUMGUESS, value: '-DDEBUG_FIND_TIME_NUMGUESS' }
|
2020-04-08 00:28:13 -04:00
|
|
|
- { key: cppflags, name: DEBUG_INTEGER_PACK, value: '-DDEBUG_INTEGER_PACK' }
|
2021-01-11 05:44:43 -05:00
|
|
|
# - { key: cppflags, name: ENABLE_PATH_CHECK, value: '-DENABLE_PATH_CHECK' }
|
2020-04-08 00:28:13 -04:00
|
|
|
|
|
|
|
- { key: cppflags, name: GC_DEBUG_STRESS_TO_CLASS, value: '-DGC_DEBUG_STRESS_TO_CLASS' }
|
2020-12-10 03:41:39 -05:00
|
|
|
# - { 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' }
|
2020-04-08 00:28:13 -04:00
|
|
|
|
2020-12-10 03:41:39 -05:00
|
|
|
# - { key: cppflags, name: CALC_EXACT_MALLOC_SIZE, value: '-DCALC_EXACT_MALLOC_SIZE' }
|
|
|
|
# - { key: cppflags, name: MALLOC_ALLOCATED_SIZE_CHECK, value: '-DMALLOC_ALLOCATED_SIZE_CHECK' }
|
2020-04-08 00:28:13 -04:00
|
|
|
|
2020-12-10 03:41:39 -05:00
|
|
|
# - { key: cppflags, name: IBF_ISEQ_ENABLE_LOCAL_BUFFER, value: '-DIBF_ISEQ_ENABLE_LOCAL_BUFFER' }
|
2020-04-08 00:28:13 -04:00
|
|
|
|
2020-12-10 03:41:39 -05:00
|
|
|
# - { 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' }
|
2020-04-08 00:28:13 -04:00
|
|
|
|
2020-12-10 03:41:39 -05:00
|
|
|
# - { 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' }
|
2020-04-08 00:28:13 -04:00
|
|
|
|
2020-06-08 22:46:01 -04:00
|
|
|
- { key: cppflags, name: MJIT_FORCE_ENABLE, value: '-DMJIT_FORCE_ENABLE' }
|
2021-10-01 08:45:02 -04:00
|
|
|
- { key: cppflags, name: YJIT_FORCE_ENABLE, value: '-DYJIT_FORCE_ENABLE' }
|
2020-06-08 22:46:01 -04:00
|
|
|
|
2020-04-08 00:28:13 -04:00
|
|
|
name: ${{ matrix.entry.name }}
|
|
|
|
runs-on: ubuntu-latest
|
2021-08-23 15:16:31 -04:00
|
|
|
container:
|
2022-04-20 03:05:37 -04:00
|
|
|
image: ghcr.io/ruby/ruby-ci-image:${{ matrix.entry.container || 'clang-14' }}
|
2021-08-23 15:16:31 -04:00
|
|
|
options: --user root
|
2021-12-17 22:31:43 -05:00
|
|
|
if: ${{ !startsWith(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
|
2022-05-10 10:34:08 -04:00
|
|
|
env: ${{ matrix.entry.env || matrix.env }}
|
2020-04-08 00:28:13 -04:00
|
|
|
steps:
|
2021-08-23 15:16:31 -04:00
|
|
|
- run: id
|
|
|
|
working-directory:
|
2020-10-19 02:32:39 -04:00
|
|
|
- run: mkdir build
|
|
|
|
working-directory:
|
2020-04-08 00:28:13 -04:00
|
|
|
- name: setenv
|
|
|
|
run: |
|
2020-10-05 21:28:15 -04:00
|
|
|
echo "${{ matrix.entry.key }}=${{ matrix.entry.value }}" >> $GITHUB_ENV
|
2021-09-22 03:51:53 -04:00
|
|
|
echo "GNUMAKEFLAGS=-sj$((1 + $(nproc --all)))" >> $GITHUB_ENV
|
2022-03-24 07:38:59 -04:00
|
|
|
- uses: actions/checkout@v3
|
2020-04-08 00:28:13 -04:00
|
|
|
with:
|
|
|
|
path: src
|
2022-03-24 07:32:46 -04:00
|
|
|
- uses: actions/cache@v3
|
2021-12-02 08:21:20 -05:00
|
|
|
with:
|
|
|
|
path: src/.downloaded-cache
|
|
|
|
key: downloaded-cache
|
2021-04-08 07:36:58 -04:00
|
|
|
- run: ./autogen.sh
|
2020-04-08 00:28:13 -04:00
|
|
|
working-directory: src
|
|
|
|
- name: Run configure
|
2021-08-30 00:53:53 -04:00
|
|
|
run: >
|
|
|
|
../src/configure -C ${default_configure} ${append_configure}
|
|
|
|
${{ matrix.entry.key == 'crosshost' && '--host="${crosshost}"' || '--with-gcc="${default_cc} ${append_cc}"' }}
|
2022-04-25 13:30:00 -04:00
|
|
|
${{ matrix.entry.configure_append || '--enable-shared' }}
|
2021-09-22 03:51:53 -04:00
|
|
|
- run: make extract-extlibs
|
|
|
|
- run: make incs
|
|
|
|
- run: make
|
|
|
|
- run: make leaked-globals
|
|
|
|
- run: make test
|
|
|
|
- run: make install
|
2021-08-12 00:14:24 -04:00
|
|
|
if: ${{ matrix.entry.check }}
|
2021-10-21 22:15:10 -04:00
|
|
|
- run: make prepare-gems
|
2021-08-12 00:14:24 -04:00
|
|
|
if: ${{ matrix.entry.check }}
|
2021-09-22 03:51:53 -04:00
|
|
|
- run: make test-tool
|
2021-08-12 00:14:24 -04:00
|
|
|
if: ${{ matrix.entry.check }}
|
2022-05-10 10:34:08 -04:00
|
|
|
# FIXME: Skip MJIT tests failing in the annocheck case.
|
|
|
|
# https://bugs.ruby-lang.org/issues/18781
|
|
|
|
- run: |
|
|
|
|
rm test/ruby/test_jit.rb
|
|
|
|
rm test/ruby/test_rubyvm_jit.rb
|
|
|
|
if: ${{ endsWith(matrix.entry.name, 'annocheck') }}
|
|
|
|
working-directory: src
|
2021-09-22 03:51:53 -04:00
|
|
|
- run: make test-all TESTS='-- ruby -ext-'
|
2021-08-12 00:14:24 -04:00
|
|
|
if: ${{ matrix.entry.check }}
|
2021-09-22 03:51:53 -04:00
|
|
|
- run: make test-spec
|
2021-08-12 00:14:24 -04:00
|
|
|
if: ${{ matrix.entry.check }}
|
2022-05-10 10:34:08 -04:00
|
|
|
- run: make test-annocheck
|
|
|
|
if: ${{ matrix.entry.check && endsWith(matrix.entry.name, 'annocheck') }}
|
2020-04-08 00:28:13 -04:00
|
|
|
|
|
|
|
- uses: k0kubun/action-slack@v2.0.0
|
|
|
|
with:
|
|
|
|
payload: |
|
|
|
|
{
|
|
|
|
"ci": "GitHub Actions",
|
2020-06-24 02:56:01 -04:00
|
|
|
"env": "${{ github.workflow }} / ${{ matrix.entry.name }}",
|
2020-04-08 00:28:13 -04:00
|
|
|
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
|
|
|
|
"commit": "${{ github.sha }}",
|
|
|
|
"branch": "${{ github.ref }}".split('/').reverse()[0]
|
|
|
|
}
|
|
|
|
env:
|
|
|
|
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
|
2021-08-01 22:39:38 -04:00
|
|
|
if: ${{ failure() && github.event_name == 'push' }}
|
2020-10-19 02:32:39 -04:00
|
|
|
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: build
|