@@ -17,29 +17,54 @@ jobs:
17
17
runs-on : windows-latest
18
18
strategy :
19
19
matrix :
20
- python-version : [3.6 ]
20
+ python-version : [3.9 ]
21
21
steps :
22
22
- uses : actions/checkout@v2
23
23
- uses : actions/setup-python@v2
24
24
- name : Install Qt
25
25
uses : jurplel/install-qt-action@v2
26
26
with :
27
- arch : win64_mingw73
27
+ arch : win64_mingw81
28
28
modules : qtcharts
29
+ - name : Install Keystone
30
+ shell : bash
31
+ run : |
32
+ mkdir lib
33
+ curl -L https://github.com/keystone-engine/keystone/releases/download/0.9.2/keystone-0.9.2-win64.zip -o keystone.zip
34
+ unzip keystone.zip
35
+ echo "Installing Keystone along MinGW and QT - in $Qt5_Dir"
36
+ cd keystone-*
37
+ mv *.dll ../lib
38
+ cp -rv include/* $Qt5_Dir/include
39
+ cd ..
40
+ rm -rf keystone.zip keystone-*
41
+ - name : Install Capstone
42
+ shell : bash
43
+ run : |
44
+ curl -L https://github.com/aquynh/capstone/releases/download/4.0.2/capstone-4.0.2-win64.zip -o capstone.zip
45
+ unzip capstone.zip
46
+ echo "Installing Capstone along MinGW and QT - in $Qt5_Dir"
47
+ cd capstone-*
48
+ mv *.dll ../lib
49
+ cp -rv include/* $Qt5_Dir/include
50
+ cd ..
51
+ rm -rf capstone.zip capstone-*
29
52
- name : Call qmake
30
53
shell : cmd
31
54
# Inspired by https://github.com/jurplel/install-qt-action/blob/master/.github/workflows/test.yml
32
55
run : |
33
56
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
34
57
qmake fhex.pro
35
58
- name : Compile the project with make
36
- run : make
59
+ run : |
60
+ dir
61
+ make -j
37
62
- name : Add required MinGW DLLs
38
63
shell : cmd
39
64
# We will also need visual studio tools here to find out the dependencies (dumpbin)
40
65
run : |
41
66
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
42
- python36 bundle-exe-with-dlls.py
67
+ python bundle-exe-with-dlls.py
43
68
- name : Add QT dependencies with WinDeploy
44
69
shell : cmd
45
70
# Disabled angle and opengl since we don't do 3D graphics here (yet?)
0 commit comments