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

ruby-changes:66655

From: Samuel <ko1@a...>
Date: Thu, 1 Jul 2021 08:23:49 +0900 (JST)
Subject: [ruby-changes:66655] 1467328edc (master): More general matrix "configure" parameter, add `--with-coroutine=pthread`.

https://git.ruby-lang.org/ruby.git/commit/?id=1467328edc

From 1467328edc877ada0361e89f55158d2ed1bbb075 Mon Sep 17 00:00:00 2001
From: Samuel Williams <samuel.williams@o...>
Date: Wed, 30 Jun 2021 14:11:12 +1200
Subject: More general matrix "configure" parameter, add
 `--with-coroutine=pthread`.

---
 .github/workflows/ubuntu.yml | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 34dffa2..d0d9849 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -4,14 +4,15 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L4
   make:
     strategy:
       matrix:
-        test_task: [ "check", "test-bundler-parallel", "test-bundled-gems", "test-all TESTS=--repeat-count=2" ]
+        test_task: ["check", "test-bundler-parallel", "test-bundled-gems"]
         os:
           - ubuntu-20.04
 #         - ubuntu-18.04
-        debug: ["", "-DRUBY_DEBUG"]
-        exclude:
+        configure: ["", "--with-coroutine=pthread", "cppflags=-DRUBY_DEBUG"]
+        include:
           - test_task: "test-all TESTS=--repeat-count=2"
-            debug: -DRUBY_DEBUG
+            os: ubuntu-20.04
+            configure: ""
       fail-fast: false
     env:
       GITPULLOPTIONS: --no-tags origin ${{github.ref}}
@@ -43,7 +44,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L44
       - run: ./autogen.sh
         working-directory: src
       - name: Run configure
-        run: ../src/configure -C --disable-install-doc cppflags=${{ matrix.debug }}
+        run: ../src/configure -C --disable-install-doc ${{ matrix.configure }}
       - run: make $JOBS incs
       - run: make $JOBS
       - run: make leaked-globals
@@ -64,7 +65,7 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/ubuntu.yml#L65
           payload: |
             {
               "ci": "GitHub Actions",
-              "env": "${{ matrix.os }} / ${{ matrix.test_task }}${{ matrix.debug }}",
+              "env": "${{ matrix.os }} / ${{ matrix.test_task }}${{ matrix.configure }}",
               "url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
               "commit": "${{ github.sha }}",
               "branch": "${{ github.ref }}".split('/').reverse()[0]
-- 
cgit v1.1


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

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