[前][次][番号順一覧][スレッド一覧]

ruby-changes:61383

From: Koichi <ko1@a...>
Date: Tue, 26 May 2020 23:04:29 +0900 (JST)
Subject: [ruby-changes:61383] 68e987c315 (master): GH actions with RUBY_DEBUG (#3144)

https://git.ruby-lang.org/ruby.git/commit/?id=68e987c315

From 68e987c315815d9fbbc0c9967127be58c14655b5 Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Tue, 26 May 2020 23:04:10 +0900
Subject: GH actions with RUBY_DEBUG (#3144)

Add GH actions with -DRUBY_DEBUG

diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 0935277..b33c067 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -6,6 +6,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L6
       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: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L16
             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: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L51
         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
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]