ci: Disable cross for i686 Windows, add multilib for i686 Linux for Nightly (#592)

Disables an unnecessary use of cross for i686 Windows, and add multilib for i686 Linux since apparently that's needed now.
This commit is contained in:
Clement Tsang 2021-10-03 16:44:50 -04:00 committed by GitHub
parent 9071e37283
commit 3c51245d35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ jobs:
- {
os: "ubuntu-18.04",
target: "i686-unknown-linux-gnu",
cross: true,
cross: false,
strip: true,
}
- {
@ -143,6 +143,13 @@ jobs:
override: true
target: ${{ matrix.triple.target }}
- name: Install gcc-multilib for (Linux i686)
if: matrix.triple.target == 'i686-unknown-linux-gnu' || matrix.triple.target == 'i686-unknown-linux-musl'
run: |
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install gcc-multilib -y
- uses: Swatinem/rust-cache@v1
with:
key: ${{ matrix.triple.target }}