Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor gcc-11 annocheck #8027

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
28 changes: 12 additions & 16 deletions .github/workflows/annocheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,28 +43,13 @@ jobs:
if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}

env:
# -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

CONFIGURE_TTY: never
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
RUBY_DEBUG: ci rgengc
RUBY_TESTOPTS: >-
-q
--color=always
--tty=no
# Minimal flags to pass the check.
optflags: '-O2'
LDFLAGS: '-Wl,-z,now'
# FIXME: Drop skipping options
# https://bugs.ruby-lang.org/issues/18061
# https://sourceware.org/annobin/annobin.html/Test-pie.html
Expand All @@ -85,11 +70,22 @@ jobs:
builddir: build
makeup: true

# Minimal flags to pass the check.
# -g0 disables backtraces when SEGV. Do not set that.
- name: Run configure
run: >
../src/configure -C ${default_configure} ${append_configure}
../src/configure -C
--enable-debug-env
--disable-install-doc
--with-ext=-test-/cxxanyargs,+
--without-valgrind
--without-jemalloc
--without-gmp
--with-gcc="gcc-11 -fcf-protection -Wa,--generate-missing-build-notes=yes"
--enable-shared
debugflags=-ggdb3
optflags=-O2
LDFLAGS=-Wl,-z,now

- run: make showflags

Expand Down