build: ensure zydis statically links when we want it to (#1599)

* build: ensure `zydis` statically links when we want it to

* test

* test-static

* revert the static test commit

* build: don't generate cmake twice on release builds
This commit is contained in:
Tyler Wilding
2022-07-03 20:26:04 -04:00
committed by GitHub
parent 417d0951de
commit 7f05974956
5 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ jobs:
# TODO - CMake - replace with presets!
- name: CMake Generation - Clang - ASAN
if: matrix.compiler == 'clang'
if: matrix.compiler == 'clang' && startsWith(github.ref, 'refs/tags/') == false
env:
CC: clang
CXX: clang++
+1 -1
View File
@@ -53,7 +53,7 @@ jobs:
- name: CMake Generation - Clang
shell: cmd
if: matrix.compiler == 'clang'
if: matrix.compiler == 'clang' && startsWith(github.ref, 'refs/tags/') == false
run: cmake -B build --preset=Release-clang -DCMAKE_C_COMPILER_LAUNCHER=${{ github.workspace }}/buildcache/bin/buildcache.exe -DCMAKE_CXX_COMPILER_LAUNCHER=${{ github.workspace }}/buildcache/bin/buildcache.exe .
- name: CMake Generation - Clang - Statically Linked