Use cross when building for Linux 32-bit targets

While in theory this should work without `cross`, compiling `openssl` with the
`vendored` feature fails when we run `cargo build --target i686-unknown-linux-musl`.
This commit is contained in:
Dave Rolsky
2023-12-17 09:43:52 -06:00
parent fc51bd6dfd
commit e1ea800ed7
3 changed files with 19 additions and 3 deletions

View File

@@ -57,8 +57,16 @@ jobs:
os: ubuntu-20.04
target: i586-unknown-linux-musl
expect_file_re: "ELF.+80386"
expect_cross: "--no-expect-cross"
expect_stripped: "--expect-stripped"
expect_cross: "--expect-cross"
expect_stripped: "--no-expect-stripped"
can_test: true
- platform_name: Linux-i686
os: ubuntu-20.04
target: i686-unknown-linux-musl
expect_file_re: "ELF.+80386"
expect_cross: "--expect-cross"
expect_stripped: "--no-expect-stripped"
can_test: true
- platform_name: Linux-mips