mirror of https://git.tukaani.org/xz.git
CI: Use CC="gcc -m32" to get i386 compiler on x86-64
The old method put it in CFLAGS which is a wrong place because
config.guess doesn't read CFLAGS.
(cherry picked from commit dbcdabf68f
)
This commit is contained in:
parent
dde14ded9a
commit
810f1a8aee
|
@ -70,11 +70,11 @@ jobs:
|
||||||
# done first.
|
# done first.
|
||||||
- name: Build 32-bit
|
- name: Build 32-bit
|
||||||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.build_system == 'autotools' }}
|
if: ${{ matrix.os == 'ubuntu-latest' && matrix.build_system == 'autotools' }}
|
||||||
run: ./build-aux/ci_build.bash -b autotools -p build -f "-m32"
|
run: ./build-aux/ci_build.bash -b autotools -p build -m "gcc -m32"
|
||||||
- name: Test 32-bit
|
- name: Test 32-bit
|
||||||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.build_system == 'autotools' }}
|
if: ${{ matrix.os == 'ubuntu-latest' && matrix.build_system == 'autotools' }}
|
||||||
run: |
|
run: |
|
||||||
./build-aux/ci_build.bash -b autotools -p test -f "-m32" -n 32_bit
|
./build-aux/ci_build.bash -b autotools -p test -m "gcc -m32" -n 32_bit
|
||||||
cd ../xz_build && make distclean
|
cd ../xz_build && make distclean
|
||||||
|
|
||||||
# The sandbox must be disabled because it will prevent access to
|
# The sandbox must be disabled because it will prevent access to
|
||||||
|
|
Loading…
Reference in New Issue