diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b2adc7a6e..f0d908064 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -25,8 +25,6 @@ jobs: name: "Tests, stable toolchain" runs-on: ubuntu-latest strategy: - # Keep x86_64 jobs alive if s390x jobs fail - fail-fast: false matrix: arch: - x86_64 @@ -47,7 +45,16 @@ jobs: path: target/debug key: deps-${{ runner.os }}-${{ matrix.arch }}-${{ env.INSTALLED_TOOLCHAIN }} - name: Install dependencies - run: dnf install -y gcc openssl-devel cpio diffutils jq xz + run: dnf install -y gcc git-core openssl-devel cpio diffutils jq xz + - name: Configure cargo + run: | + # Avoid OOM on emulated s390x + # https://github.com/rust-lang/cargo/issues/10583 + mkdir -p .cargo + cat >> .cargo/config.toml <> .cargo/config.toml <> .cargo/config.toml <> .cargo/config.toml <