summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-05-26 23:04:10 +0900
committerGitHub <noreply@github.com>2020-05-26 23:04:10 +0900
commit68e987c315815d9fbbc0c9967127be58c14655b5 (patch)
tree7093fe208b246db2b4ded0039ff15b413c63fe00 /.github
parent5917fe2303bc85882b52e60145eb031ee18583c7 (diff)
GH actions with RUBY_DEBUG (#3144)
Add GH actions with -DRUBY_DEBUG
Notes
Notes: Merged-By: ko1 <ko1@atdot.net>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ubuntu.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 0935277d31..b33c067290 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -6,6 +6,7 @@ jobs:
matrix:
test_task: [ "check", "test-bundler", "test-bundled-gems", "test-all TESTS=--repeat-count=2", "leaked-globals" ]
os: [ubuntu-latest, ubuntu-16.04]
+ debug: ["", "-DRUBY_DEBUG"]
exclude:
- test_task: test-bundler
os: ubuntu-16.04
@@ -15,6 +16,14 @@ jobs:
os: ubuntu-16.04
- test_task: leaked-globals
os: ubuntu-16.04
+ - os: ubuntu-16.04
+ debug: -DRUBY_DEBUG
+ - test_task: "test-all TESTS=--repeat-count=2"
+ debug: -DRUBY_DEBUG
+ - test_task: "test-all TESTS=--repeat-count=2"
+ debug: -DRUBY_DEBUG
+ - test_task: leaked-globals
+ debug: -DRUBY_DEBUG
fail-fast: false
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[ci skip]')"
@@ -42,7 +51,7 @@ jobs:
working-directory: src
- run: mkdir build
- name: Run configure
- run: ../src/configure -C --disable-install-doc
+ run: ../src/configure -C --disable-install-doc cppflags=${{ matrix.debug }}
working-directory: build
- run: make $JOBS
working-directory: build