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:
parent
51070ee5c4
commit
83a744dd8c
1 changed files with 3 additions and 5 deletions
8
.github/workflows/compilers.yml
vendored
8
.github/workflows/compilers.yml
vendored
|
|
@ -186,11 +186,9 @@ jobs:
|
||||||
- run: ./autogen.sh
|
- run: ./autogen.sh
|
||||||
working-directory: src
|
working-directory: src
|
||||||
- name: Run configure
|
- name: Run configure
|
||||||
run: ../src/configure -C ${default_configure} ${append_configure} --with-gcc="${default_cc} ${append_cc}"
|
run: >
|
||||||
if: ${{ matrix.entry.key != 'crosshost' }}
|
../src/configure -C ${default_configure} ${append_configure}
|
||||||
- name: Run cross configure
|
${{ matrix.entry.key == 'crosshost' && '--host="${crosshost}"' || '--with-gcc="${default_cc} ${append_cc}"' }}
|
||||||
run: ../src/configure -C ${default_configure} ${append_configure} --host="${crosshost}"
|
|
||||||
if: ${{ matrix.entry.key == 'crosshost' }}
|
|
||||||
- run: $make extract-extlibs
|
- run: $make extract-extlibs
|
||||||
- run: $make incs
|
- run: $make incs
|
||||||
- run: $make
|
- run: $make
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue