summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2021-07-12 23:02:48 -0400
committerGitHub <noreply@github.com>2021-07-12 23:02:48 -0400
commit7392b56364ef0df321160e519eb29c287ae94622 (patch)
treeec24b78c6ed1c494da607533a8c7b1e16901a160
parent54ccbb984efa86eb4cd876349f2a512eb4da2d9a (diff)
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.
-rw-r--r--.github/workflows/ci.yml40
1 files 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",
@@ -119,12 +119,6 @@ jobs:
# }
- {
os: "windows-2019",
- target: "i686-pc-windows-msvc",
- cross: true,
- rust: stable,
- }
- - {
- os: "windows-2019",
target: "x86_64-pc-windows-msvc",
cross: false,
rust: stable,
@@ -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
- {