From 68e987c315815d9fbbc0c9967127be58c14655b5 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Tue, 26 May 2020 23:04:10 +0900 Subject: [PATCH] GH actions with RUBY_DEBUG (#3144) Add GH actions with -DRUBY_DEBUG --- .github/workflows/ubuntu.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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