From e8f9193745ce1712abeb03fa67a51ac7700ebc21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Gu=C3=A9rin?= Date: Wed, 12 Jun 2024 12:01:10 +0200 Subject: [PATCH] Add an ARM64 variant for Linux --- .github/workflows/go.yml | 8 +++++++- gh-pages/content/en/docs/overview/enterprise.md | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index dd40966..3ce4cab 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,7 +19,7 @@ jobs: os: ${{steps.vars.outputs.os}} strategy: matrix: - arch: [amd64] + arch: [amd64,arm64] cgo: [0] os: [windows-latest, ubuntu-latest ] include: @@ -109,6 +109,11 @@ jobs: with: name: linux-amd64 path: output/linux/amd64/ + - name: Download linux arm64 artifact + uses: actions/download-artifact@v3 + with: + name: linux-arm64 + path: output/linux/arm64/ - name: Download windows amd64 artifact uses: actions/download-artifact@v3 with: @@ -130,6 +135,7 @@ jobs: mv output/darwin/arm64/cdt_darwin_arm64_${{needs.build.outputs.sha_short}} output/darwin/arm64/cdt mv output/darwin/amd64/cdt_darwin_amd64_${{needs.build.outputs.sha_short}} output/darwin/amd64/cdt mv output/linux/amd64/cdt_linux_amd64_${{needs.build.outputs.sha_short}} output/linux/amd64/cdt + mv output/linux/arm64/cdt_linux_arm64_${{needs.build.outputs.sha_short}} output/linux/arm64/cdt mv output/windows/amd64/cdt_windows_amd64_${{needs.build.outputs.sha_short}} output/windows/amd64/cdt.exe - name: Zip the package diff --git a/gh-pages/content/en/docs/overview/enterprise.md b/gh-pages/content/en/docs/overview/enterprise.md index 2d5223a..ad71b45 100644 --- a/gh-pages/content/en/docs/overview/enterprise.md +++ b/gh-pages/content/en/docs/overview/enterprise.md @@ -159,7 +159,7 @@ The `[SELF_UPDATE_BASE_URL]` should be defined in `self_update_base_url` configu | windows | amd64 | yes | | windows | arm64 | no | | linux | amd64 | yes | -| linux | arm64 | no | +| linux | arm64 | yes | | darwin | amd64 | yes | | darwin | arm64 | yes |