Skip to content

Commit 664cd78

Browse files
authored
Merge pull request #491 from aminya/faster-test
test: only test install the min and max versions for LLVM
2 parents 15a6bd8 + 59c279c commit 664cd78

5 files changed

Lines changed: 196 additions & 192 deletions

File tree

dist/legacy/setup-cpp.js

Lines changed: 94 additions & 93 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.mjs

Lines changed: 96 additions & 95 deletions
Large diffs are not rendered by default.

dist/modern/setup-cpp.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/llvm/__tests__/llvm.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,10 @@ describe("setup-llvm", () => {
140140
await io.rmRF(directory)
141141
})
142142

143-
// test installation of LLVM 10 to 19 on Linux
144-
for (let version = 10; version <= 19; version++) {
143+
// test installation of LLVM 10 to 20 on Linux
144+
const minVersion = 10
145+
const maxVersion = 20
146+
for (const version of [minVersion, maxVersion]) {
145147
if (process.platform !== "linux") {
146148
continue
147149
}

0 commit comments

Comments
 (0)