File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed
Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -12,23 +12,29 @@ jobs:
1212 - name : Install MSYS2
1313 uses : msys2/setup-msys2@v2
1414 with :
15- msystem : MSYS
16- path-type : minimal
15+ msystem : MINGW64
16+ path-type : inherit
1717 update : true
18- install : mingw-w64-x86_64-toolchain mingw-w64-x86_64-pkg-config pkg-config base-devel openssl-devel autoconf automake libtool unzip
19- - name : Install YARA v4.1
18+ install : >-
19+ mingw-w64-x86_64-gcc
20+ mingw-w64-x86_64-toolchain
21+ mingw-w64-x86_64-pkg-config
22+ base-devel
23+ autoconf
24+ automake
25+ libtool
26+ make
27+ unzip
28+ wget
29+ - name : Install YARA v4.5.5
2030 run : |
2131 wget -c https://github.com/VirusTotal/yara/archive/refs/tags/v4.5.5.zip -O /tmp/yara.zip
2232 cd /tmp && unzip yara.zip
2333 cd /tmp/yara-4.5.5
24- export PATH=${PATH}:/c/msys64/mingw64/bin:/c/msys64/mingw64/lib:/c/msys64/mingw64/lib/pkgconfig
2534 ./bootstrap.sh
26- ./configure --prefix=/mingw64
27- make
35+ ./configure --prefix=/mingw64 --enable-static --disable-shared
36+ make -j$(nproc)
2837 make install
29- cp -r libyara/include/* /c/msys64/mingw64/include
30- cp -r libyara/.libs/* /c/msys64/mingw64/lib
31- cp libyara/yara.pc /c/msys64/mingw64/lib/pkgconfig
3238 - name : Set up Go
3339 uses : actions/setup-go@v2
3440 with :
You can’t perform that action at this time.
0 commit comments