File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,13 @@ jobs:
43
43
repository : unicorn-engine/unicorn
44
44
path : externals/unicorn
45
45
46
- - name : Build unicorn
46
+ - name : Configure and build unicorn
47
47
if : ${{matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'}}
48
48
working-directory : externals/unicorn
49
- run : UNICORN_ARCHS=aarch64,arm ./make.sh
49
+ run : |
50
+ mkdir build; cd build;
51
+ cmake .. -DCMAKE_BUILD_TYPE=Release
52
+ UNICORN_ARCHS="aarch64,arm" make
50
53
51
54
- name : Configure CMake
52
55
if : ${{matrix.os == 'ubuntu-latest'}}
63
66
-DDYNARMIC_TESTS_USE_UNICORN=1
64
67
-DDYNARMIC_USE_LLVM=1
65
68
-DLIBUNICORN_INCLUDE_DIR=${{github.workspace}}/externals/unicorn/include
66
- -DLIBUNICORN_LIBRARY=${{github.workspace}}/externals/unicorn/libunicorn.a
69
+ -DLIBUNICORN_LIBRARY=${{github.workspace}}/externals/unicorn/build/ libunicorn.a
67
70
-G Ninja
68
71
69
72
- name : Configure CMake
77
80
-DDYNARMIC_TESTS_USE_UNICORN=1
78
81
-DDYNARMIC_USE_LLVM=1
79
82
-DLIBUNICORN_INCLUDE_DIR=${{github.workspace}}/externals/unicorn/include
80
- -DLIBUNICORN_LIBRARY=${{github.workspace}}/externals/unicorn/libunicorn.a
83
+ -DLIBUNICORN_LIBRARY=${{github.workspace}}/externals/unicorn/build/ libunicorn.a
81
84
-G Ninja
82
85
83
86
- name : Configure CMake
You can’t perform that action at this time.
0 commit comments