Skip to content

[Windows 11 Arm] Update Zstd install script to install the Zstd arm version who was released with 1.6.0 #15400

In review

Description

Tool name

Zstd

Tool license

BSD-3-Clause license and the GPLv2 license

Add or update?

  • Add
  • Update

Desired version

The latest Zstd arm version

Approximate size

No response

Brief description of tool

Install-Zstd.ps1 need a update to install the Zstd arm version on Windows 11 Arm

IMG_1103

Zstd arm version for Windows was released with 1.6.0

IMG_1115

URL for tool's homepage

https://github.com/meta/zstd/releases

Provide a basic test case to validate the tool's functionality.

- name: Check zstd
        shell: pwsh
        run: |
          zstd --version
          (Get-Command zstd).Source

Platforms where you need the tool

  • Azure DevOps
  • GitHub Actions

Runner images where you need the tool

  • Ubuntu 22.04
  • Ubuntu 22.04 Arm64
  • Ubuntu 24.04
  • Ubuntu 24.04 Arm64
  • Ubuntu 26.04
  • Ubuntu 26.04 Arm64
  • Ubuntu Slim
  • macOS 14
  • macOS 15
  • macOS 15 Arm64
  • macOS 26
  • macOS 26 Arm64
  • Xcode 27 Arm64
  • Windows Server 2022
  • Windows Server 2025
  • Windows Server 2025 with Visual Studio 2026
  • Windows Desktop 11 with Visual Studio 2026

Can this tool be installed during the build?

- name: Download and install zstd
        shell: pwsh
        run: |
          $ErrorActionPreference = 'Stop'
          $url = 'https://github.com/meta/zstd/releases/download/v1.6.0/zstd-v1.6.0-win-arm64.zip'
          $tempZip = Join-Path $env:RUNNER_TEMP 'zstd-arm64.zip'
          $targetDir = 'C:\zstd'

          New-Item -ItemType Directory -Path $targetDir -Force | Out-Null
          Invoke-WebRequest -Uri $url -OutFile $tempZip
          Expand-Archive -Path $tempZip -DestinationPath $targetDir -Force

          $binDir = Split-Path -Parent (Get-ChildItem -Path $targetDir -Filter 'zstd.exe' -Recurse | Select-Object -First 1).FullName
          "PATH=$binDir" | Out-File -FilePath $env:GITHUB_ENV -Append
          Remove-Item -Path $tempZip -Force -ErrorAction SilentlyContinue

Tool installation time in runtime

6s

IMG_1118

Are you willing to submit a PR?

No response

Activity

  1. self-assigned this
    on Nov 24, 2026
  2. v-dovchar commented on Nov 24, 2026

    @v-dovchar
    Contributor

    take a look

  3. v-dovchar commented on Nov 25, 2026

    @v-dovchar
    Contributor

    I opened #15408 to install the native ARM64 Zstd binary while preserving the x64 installation. The PR also adds architecture and compression/decompression checks. Windows image validation is in progress.

  4. ghost changed the title [-][Windows 11 Arm] Update Install-Zstd.ps1 to install the arm version[/-] [+][Windows 11 Arm] Update Zstd install script to install the Zstd arm version who was released with 1.6.0[/+] on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions