From 7392b56364ef0df321160e519eb29c287ae94622 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Mon, 12 Jul 2021 23:02:48 -0400 Subject: ci: reduce the number of tests in CI (#540) Seems like we have a few too many tests that aren't really needed for just asserting CI is passing. The goal for CI (IMO) is just to ensure things still build on the various supported platforms after changes are made. However, there were a few tested scenarios like Windows GNU or musl which I feel weren't really too important in this regard, and added extra time to an already long CI process. Commented out the following tests since there aren't any architecture-specific features that require running these in addition to other already-existing tests: - Windows GNU - Linux musl (both x86 and x86_64) Of course, should we add changes that directly affect these architectures, then we should add the tests back. --- .github/workflows/ci.yml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ee0a3b8..a707c186 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,18 +91,18 @@ jobs: cross: true, rust: stable, } - - { - os: "ubuntu-latest", - target: "x86_64-unknown-linux-musl", - cross: false, - rust: stable, - } - - { - os: "ubuntu-latest", - target: "i686-unknown-linux-musl", - cross: true, - rust: stable, - } + # - { + # os: "ubuntu-latest", + # target: "x86_64-unknown-linux-musl", + # cross: false, + # rust: stable, + # } + # - { + # os: "ubuntu-latest", + # target: "i686-unknown-linux-musl", + # cross: true, + # rust: stable, + # } - { os: "macOS-latest", target: "x86_64-apple-darwin", @@ -117,12 +117,6 @@ jobs: # cross: false, # rust: stable, # } - - { - os: "windows-2019", - target: "i686-pc-windows-msvc", - cross: true, - rust: stable, - } - { os: "windows-2019", target: "x86_64-pc-windows-msvc", @@ -132,10 +126,16 @@ jobs: } - { os: "windows-2019", - target: "x86_64-pc-windows-gnu", - cross: false, + target: "i686-pc-windows-msvc", + cross: true, rust: stable, } + # - { + # os: "windows-2019", + # target: "x86_64-pc-windows-gnu", + # cross: false, + # rust: stable, + # } # aarch64 - { -- cgit v1.2.3