From 20478cafe15f1911a9f2e6f91a43a17c6430f44b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Wed, 5 Jul 2023 19:58:14 +0900 Subject: [PATCH] do not set environment variables These variables were used only once. --- .github/workflows/annocheck.yml | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/.github/workflows/annocheck.yml b/.github/workflows/annocheck.yml index 27f360639bd724..211dfbdac4744e 100644 --- a/.github/workflows/annocheck.yml +++ b/.github/workflows/annocheck.yml @@ -43,18 +43,6 @@ 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 @@ -62,9 +50,6 @@ jobs: -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 @@ -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