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

ruby-changes:67365

From: Nobuyoshi <ko1@a...>
Date: Mon, 30 Aug 2021 17:17:39 +0900 (JST)
Subject: [ruby-changes:67365] 83a744dd8c (master): Unify configure steps

https://git.ruby-lang.org/ruby.git/commit/?id=83a744dd8c

From 83a744dd8c0d6e769258b734b9f6861a22eeb554 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 30 Aug 2021 13:53:53 +0900
Subject: Unify configure steps

---
 .github/workflows/compilers.yml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml
index 2819a04..0be749b 100644
--- a/.github/workflows/compilers.yml
+++ b/.github/workflows/compilers.yml
@@ -186,11 +186,9 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/compilers.yml#L186
       - run: ./autogen.sh
         working-directory: src
       - name: Run configure
-        run: ../src/configure -C ${default_configure} ${append_configure} --with-gcc="${default_cc} ${append_cc}"
-        if: ${{ matrix.entry.key != 'crosshost' }}
-      - name: Run cross configure
-        run: ../src/configure -C ${default_configure} ${append_configure} --host="${crosshost}"
-        if: ${{ matrix.entry.key == 'crosshost' }}
+        run: >
+          ../src/configure -C ${default_configure} ${append_configure}
+          ${{ matrix.entry.key == 'crosshost' && '--host="${crosshost}"' || '--with-gcc="${default_cc} ${append_cc}"' }}
       - run: $make extract-extlibs
       - run: $make incs
       - run: $make
-- 
cgit v1.1


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

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