maint: test new workflow for mac

This commit is contained in:
Diavolo 2023-06-23 12:10:20 +02:00
parent 8698e7f9c6
commit abcdac6b80
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5
2 changed files with 9 additions and 9 deletions

View File

@ -30,7 +30,7 @@ jobs:
platform: x64 platform: x64
steps: steps:
- name: Check out files - name: Check out files
uses: actions/checkout@v3.5.2 uses: actions/checkout@v3.5.3
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
@ -80,7 +80,7 @@ jobs:
config: release config: release
steps: steps:
- name: Check out files - name: Check out files
uses: actions/checkout@v3.5.2 uses: actions/checkout@v3.5.3
with: with:
submodules: true submodules: true
fetch-depth: 0 fetch-depth: 0
@ -130,7 +130,7 @@ jobs:
- Release - Release
arch: arch:
- x64 - x64
- ARM64 - arm64
include: include:
- configuration: Debug - configuration: Debug
config: debug config: debug
@ -138,7 +138,7 @@ jobs:
config: release config: release
- arch: x64 - arch: x64
platform: x64 platform: x64
- arch: ARM64 - arch: arm64
platform: arm64 platform: arm64
steps: steps:
- name: Check out files - name: Check out files

View File

@ -45,17 +45,17 @@ function libtomcrypt.project()
"_CRT_SECURE_NO_WARNINGS", "_CRT_SECURE_NO_WARNINGS",
"LTC_SOURCE", "LTC_SOURCE",
"_LIB", "_LIB",
"USE_LTM" "USE_LTM",
} }
removedefines { removedefines {
"_DLL", "_DLL",
"_USRDLL" "_USRDLL",
} }
linkoptions { if os.istarget("darwin") then
"-IGNORE:4221" buildoptions "-march=native"
} end
warnings "Off" warnings "Off"
kind "StaticLib" kind "StaticLib"