From 848c4ed45c67bca7a1c21219c82e4240ef7df576 Mon Sep 17 00:00:00 2001 From: Artur Stolear Date: Mon, 27 Nov 2023 20:15:26 +0100 Subject: [PATCH] disable arm builds for now --- .github/workflows/_artifacts_linux.yml | 8 ++++---- .github/workflows/_docker.yml | 8 ++++---- build/docker/BuildLifetime.cs | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/_artifacts_linux.yml b/.github/workflows/_artifacts_linux.yml index 153515e5d9..b7d63b4066 100644 --- a/.github/workflows/_artifacts_linux.yml +++ b/.github/workflows/_artifacts_linux.yml @@ -47,10 +47,10 @@ jobs: with: name: native-${{ runner.os }} path: ${{ github.workspace }}/artifacts/packages/native - - - name: Setup QEMU - if: inputs.arch == 'arm64' - uses: docker/setup-qemu-action@v3 +# - +# name: Setup QEMU +# if: inputs.arch == 'arm64' +# uses: docker/setup-qemu-action@v3 - name: Echo shell: pwsh diff --git a/.github/workflows/_docker.yml b/.github/workflows/_docker.yml index aded9a2c61..74cc1c85db 100644 --- a/.github/workflows/_docker.yml +++ b/.github/workflows/_docker.yml @@ -37,10 +37,10 @@ jobs: with: name: nuget path: ${{ github.workspace }}/artifacts/packages/nuget - - - name: Setup QEMU - if: inputs.arch == 'arm64' - uses: docker/setup-qemu-action@v3 +# - +# name: Setup QEMU +# if: inputs.arch == 'arm64' +# uses: docker/setup-qemu-action@v3 - name: Docker Test if: success() && github.event_name == 'pull_request' || github.repository_owner != 'GitTools' diff --git a/build/docker/BuildLifetime.cs b/build/docker/BuildLifetime.cs index 4a71e7c40d..6dd085e31f 100644 --- a/build/docker/BuildLifetime.cs +++ b/build/docker/BuildLifetime.cs @@ -14,7 +14,7 @@ public override void Setup(BuildContext context, ISetupContext info) context.IsDockerOnLinux = context.DockerCustomCommand("info --format '{{.OSType}}'").First().Replace("'", "") == "linux"; - var architectures = context.Arguments(Arguments.Architecture) ?? Constants.ArchToBuild; + var architectures = context.HasArgument(Arguments.Architecture) ? context.Arguments(Arguments.Architecture) : Constants.ArchToBuild; var dockerRegistry = context.Argument(Arguments.DockerRegistry, DockerRegistry.DockerHub); var dotnetVersion = context.Argument(Arguments.DockerDotnetVersion, string.Empty).ToLower(); var dockerDistro = context.Argument(Arguments.DockerDistro, string.Empty).ToLower();