Skip to content

Commit

Permalink
For CMake add Win32 ARM platform
Browse files Browse the repository at this point in the history
  • Loading branch information
lukka committed Dec 22, 2024
1 parent ad8f6c6 commit e8b3116
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 20 deletions.
13 changes: 10 additions & 3 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/releases-catalog.ts

Large diffs are not rendered by default.

38 changes: 22 additions & 16 deletions src/releases-collector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,22 +128,28 @@ export class CMakeFilters {
suffix: "Linux-i386.tar.gz",
platform: linuxX86Platform,
}];
private static readonly windowsFilters: ReleaseFilter[] = [{
binPath: 'bin/',
dropSuffix: ".zip",
suffix: "windows-x86_64.zip",
platform: windowsPlatform,
}, {
binPath: 'bin/',
dropSuffix: ".zip",
suffix: "win64-x64.zip",
platform: windowsPlatform,
}, {
binPath: 'bin/',
dropSuffix: ".zip",
suffix: "win32-x86.zip",
platform: windowsPlatform,
}];
private static readonly windowsFilters: ReleaseFilter[] = [
{
binPath: 'bin/',
dropSuffix: ".zip",
suffix: "windows-arm64.zip",
platform: windowsArmPlatform,
}, {
binPath: 'bin/',
dropSuffix: ".zip",
suffix: "windows-x86_64.zip",
platform: windowsPlatform,
}, {
binPath: 'bin/',
dropSuffix: ".zip",
suffix: "win64-x64.zip",
platform: windowsPlatform,
}, {
binPath: 'bin/',
dropSuffix: ".zip",
suffix: "win32-x86.zip",
platform: windowsPlatform,
}];
private static readonly macosFilters: ReleaseFilter[] = [{
binPath: "CMake.app/Contents/bin/",
dropSuffix: '.tar.gz',
Expand Down

0 comments on commit e8b3116

Please sign in to comment.