From 1b3eb2cfb2975fb57d43d5b4279b477180541f14 Mon Sep 17 00:00:00 2001 From: Diavolo Date: Fri, 23 Jun 2023 14:06:51 +0200 Subject: [PATCH] maint: remove arm64 from macosx --- .github/workflows/build.yml | 7 ++----- premake5.lua | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2da09e4..113f0ef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -130,7 +130,6 @@ jobs: - Release arch: - x64 - - arm64 include: - configuration: Debug config: debug @@ -138,8 +137,6 @@ jobs: config: release - arch: x64 platform: x64 - - arch: arm64 - platform: arm64 steps: - name: Check out files uses: actions/checkout@v3.5.3 @@ -163,11 +160,11 @@ jobs: - name: Build ${{matrix.configuration}} ${{matrix.arch}} binaries run: | pushd build - make config=${{matrix.config}}_${{matrix.platform}} -j$(sysctl -n hw.logicalcpu) + make config=${{matrix.config}}_${{matrix.arch}} -j$(sysctl -n hw.logicalcpu) - name: Upload ${{matrix.configuration}} ${{matrix.arch}} binaries uses: actions/upload-artifact@v3.1.2 with: name: macOS ${{matrix.configuration}} ${{matrix.arch}} binaries path: | - build/bin/${{matrix.platform}}/${{matrix.configuration}}/alterware-master + build/bin/${{matrix.arch}}/${{matrix.configuration}}/alterware-master diff --git a/premake5.lua b/premake5.lua index ae54d32..4b66bb9 100644 --- a/premake5.lua +++ b/premake5.lua @@ -39,7 +39,7 @@ targetdir "%{wks.location}/bin/%{cfg.platform}/%{cfg.buildcfg}" configurations {"Debug", "Release"} if os.istarget("darwin") then - platforms {"x64", "arm64"} + platforms {"x64"} else platforms {"x86", "x64"} end