Merge pull request #15 from alterware/test/github

maint: test new workflow for mac
This commit is contained in:
Edo 2023-06-23 12:14:31 +02:00 committed by GitHub
commit f4bc3857c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"