1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Unify configure steps

This commit is contained in:
Nobuyoshi Nakada 2021-08-30 13:53:53 +09:00
parent 51070ee5c4
commit 83a744dd8c
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -186,11 +186,9 @@ jobs:
- 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