From 3f875a0fb37610a35f2aee9cd5403c70bb911185 Mon Sep 17 00:00:00 2001 From: RassK Date: Fri, 16 Feb 2024 23:39:37 +0200 Subject: [PATCH] fix wrong platform for arm --- .github/workflows/ci.yml | 6 +++++- build/Build.cs | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcd9f417a1..3f3a11c80b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,12 +43,16 @@ jobs: include: - machine: windows-2022 containers: none + platform: x64 - machine: ubuntu-20.04 containers: linux + platform: x64 - machine: macos-11 containers: none + platform: x64 - machine: actuated-arm64 containers: linux + platform: arm runs-on: ${{ matrix.machine }} steps: - name: Checkout @@ -98,7 +102,7 @@ jobs: make - name: Run TestWorkflow - run: ./build.cmd --skip NativeTests --target TestWorkflow --test-target-framework ${{ matrix.test-tfm }} --containers ${{ matrix.containers }} + run: ./build.cmd --skip NativeTests --target TestWorkflow --platform ${{ matrix.platform }} --test-target-framework ${{ matrix.test-tfm }} --containers ${{ matrix.containers }} - name: Upload test logs if: always() diff --git a/build/Build.cs b/build/Build.cs index 32af7b354a..a5ff9e1ce1 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -11,7 +11,7 @@ partial class Build : NukeBuild [Parameter("Configuration to build. Default is 'Release'")] readonly Configuration BuildConfiguration = Configuration.Release; - [Parameter("Platform to build - x86 or x64. Default is 'x64'")] + [Parameter("Platform to build - x86, x64, arm. Default is 'x64'")] readonly MSBuildTargetPlatform Platform = MSBuildTargetPlatform.x64; [Parameter($"Docker containers type to be used in tests. One of '{ContainersNone}', '{ContainersLinux}', '{ContainersWindows}', '{ContainersWindowsOnly}'. Default is '{ContainersLinux}'")]