From abcdac6b80e29b73f881f4c6e3910486dbd8c390 Mon Sep 17 00:00:00 2001 From: Diavolo Date: Fri, 23 Jun 2023 12:10:20 +0200 Subject: [PATCH] maint: test new workflow for mac --- .github/workflows/build.yml | 8 ++++---- deps/premake/libtomcrypt.lua | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c153161..2da09e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: platform: x64 steps: - name: Check out files - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v3.5.3 with: submodules: true fetch-depth: 0 @@ -80,7 +80,7 @@ jobs: config: release steps: - name: Check out files - uses: actions/checkout@v3.5.2 + uses: actions/checkout@v3.5.3 with: submodules: true fetch-depth: 0 @@ -130,7 +130,7 @@ jobs: - Release arch: - x64 - - ARM64 + - arm64 include: - configuration: Debug config: debug @@ -138,7 +138,7 @@ jobs: config: release - arch: x64 platform: x64 - - arch: ARM64 + - arch: arm64 platform: arm64 steps: - name: Check out files diff --git a/deps/premake/libtomcrypt.lua b/deps/premake/libtomcrypt.lua index 7ca3570..e039e80 100644 --- a/deps/premake/libtomcrypt.lua +++ b/deps/premake/libtomcrypt.lua @@ -45,17 +45,17 @@ function libtomcrypt.project() "_CRT_SECURE_NO_WARNINGS", "LTC_SOURCE", "_LIB", - "USE_LTM" + "USE_LTM", } removedefines { "_DLL", - "_USRDLL" + "_USRDLL", } - linkoptions { - "-IGNORE:4221" - } + if os.istarget("darwin") then + buildoptions "-march=native" + end warnings "Off" kind "StaticLib"