diff --git a/.azure-pipelines/ci-build.yml b/.azure-pipelines/ci-build.yml index 7af70b2d8e..61fc30aa1b 100644 --- a/.azure-pipelines/ci-build.yml +++ b/.azure-pipelines/ci-build.yml @@ -54,6 +54,13 @@ parameters: os: "windows" image: "windows-latest" pool: Azure-Pipelines-1ESPT-ExDShared + - architecture: "win-arm64" + jobPrefix: "win_arm64" + os: "windows" + image: windows-2022-arm64 + pool: 1es-windows-latest-arm + # arm64 is not currently available in the shared pool + hostArchitecture: "arm64" - architecture: "linux-x64" jobPrefix: "linux_x64" os: "linux" @@ -380,6 +387,8 @@ extends: name: ${{ distribution.pool }} os: ${{ distribution.os }} image: ${{ distribution.image }} + ${{ if eq(distribution.hostArchitecture, 'arm64') }}: + hostArchitecture: ${{ distribution.hostArchitecture }} templateContext: sdl: baseline: @@ -404,6 +413,11 @@ extends: inputs: version: 9.x + - script: dotnet tool install --global PowerShell + displayName: "Install PowerShell" + condition: and(succeeded(), eq('${{ distribution.hostArchitecture }}', 'arm64')) + # powershell is not installed by default on arm64 images + - pwsh: | Copy-Item $(Build.ArtifactStagingDirectory)/AppSettings/appsettings.json $(Build.SourcesDirectory)/src/kiota/appsettings.json -Force -Verbose displayName: Copy the appsettings.json @@ -690,6 +704,7 @@ extends: [ win_x64_build_binaries, win_x86_build_binaries, + win_arm64_build_binaries, linux_x64_build_binaries, linux_arm64_build_binaries, osx_x64_build_binaries, @@ -1059,18 +1074,18 @@ extends: versionSpec: "20.x" - task: EsrpRelease@7 inputs: - connectedservicename: 'Federated DevX ESRP Managed Identity Connection' - keyvaultname: 'akv-prod-eastus' - authcertname: 'ReferenceLibraryPrivateCert' - signcertname: 'ReferencePackagePublisherCertificate' - clientid: '65035b7f-7357-4f29-bf25-c5ee5c3949f8' - intent: 'PackageDistribution' - contenttype: 'npm' - contentsource: 'Folder' - folderlocation: '$(Pipeline.Workspace)/npm-package/' + connectedservicename: "Federated DevX ESRP Managed Identity Connection" + keyvaultname: "akv-prod-eastus" + authcertname: "ReferenceLibraryPrivateCert" + signcertname: "ReferencePackagePublisherCertificate" + clientid: "65035b7f-7357-4f29-bf25-c5ee5c3949f8" + intent: "PackageDistribution" + contenttype: "npm" + contentsource: "Folder" + folderlocation: "$(Pipeline.Workspace)/npm-package/" waitforreleasecompletion: true owners: $(NPM_OWNERS_LIST) approvers: $(NPM_APPROVERS_LIST) - serviceendpointurl: 'https://api.esrp.microsoft.com' - mainpublisher: 'ESRPRELPACMAN' - domaintenantid: 'cdc5aeea-15c5-4db6-b079-fcadd2505dc2' \ No newline at end of file + serviceendpointurl: "https://api.esrp.microsoft.com" + mainpublisher: "ESRPRELPACMAN" + domaintenantid: "cdc5aeea-15c5-4db6-b079-fcadd2505dc2" diff --git a/.github/workflows/build-vscode-extension.yml b/.github/workflows/build-vscode-extension.yml index dd4042dcb2..066a23a1a3 100644 --- a/.github/workflows/build-vscode-extension.yml +++ b/.github/workflows/build-vscode-extension.yml @@ -24,14 +24,19 @@ jobs: test_and_generate_binaries: needs: [checksecret] strategy: + fail-fast: false matrix: binaries: - architecture: win-x64 os: windows-latest + - architecture: win-arm64 + os: windows-11-arm #preview image - architecture: linux-x64 os: ubuntu-latest + - architecture: linux-arm64 + os: ubuntu-24.04-arm #preview image - architecture: osx-arm64 - os: macOS-latest + os: macOS-latest runs-on: ${{ matrix.binaries.os }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index ce0b800a1b..3baeda962c 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -37,7 +37,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest, windows-11-arm, ubuntu-24.04-arm] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index d39d627b90..ca8dffb25f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Added support for windows arm64. [#6427](https://github.com/microsoft/kiota/issues/6427) + ### Changed - Fixed a bug where having `additionalProperties` schema (instead of true) would not generate `AdditionalData` property. [#6443](https://github.com/microsoft/kiota/issues/6443) @@ -29,12 +31,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.25.1] - 2025-04-03 ### Changed + - Fixed a bug with http client generation where query parameters were being processed incorrectly. [#6268](https://github.com/microsoft/kiota/issues/6268) ### Added + - Extracted and created an npm package from the VS Code - Kiota interop module. [#6172](https://github.com/microsoft/kiota/pull/6172) -- Added support for generating function capabilities in plugin manifest from x-ai-capabilities OpenApi extension. [#6369](https://github.com/microsoft/kiota/issues/6369) +- Added support for generating function capabilities in plugin manifest from x-ai-capabilities OpenApi extension. [#6369](https://github.com/microsoft/kiota/issues/6369) - Added a comment on top of every golang file to indicate the file is machine generated so it can be excluded from various tools. [#6363](https://github.com/microsoft/kiota/issues/6363) @@ -1634,6 +1638,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial GitHub release - - - diff --git a/vscode/npm-package/runtime.json b/vscode/npm-package/runtime.json index 666b1ebf27..fcf8854c7f 100644 --- a/vscode/npm-package/runtime.json +++ b/vscode/npm-package/runtime.json @@ -9,6 +9,10 @@ "platformId": "win-x86", "sha256": "0000000000000000000000000000000000000000000000000000000000000000" }, + { + "platformId": "win-arm64", + "sha256": "0000000000000000000000000000000000000000000000000000000000000000" + }, { "platformId": "linux-x64", "sha256": "0000000000000000000000000000000000000000000000000000000000000000"