Skip to content

Commit

Permalink
do not set environment variables
Browse files Browse the repository at this point in the history
These variables were used only once.
  • Loading branch information
shyouhei committed Jul 6, 2023
1 parent d287d85 commit 20478ca
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/annocheck.yml
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

0 comments on commit 20478ca

Please sign in to comment.