File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 33
33
ls
34
34
sudo chmod +x fastfinder
35
35
sudo ./fastfinder -h
36
+ - name : Tests
37
+ run : |
38
+ export PKG_CONFIG_PATH=${HOME}/prefix/lib/pkgconfig
39
+ go test -v -tags yara_static -a -ldflags '-s -w -extldflags "-static"' .
Original file line number Diff line number Diff line change 49
49
go build -trimpath -tags yara_static -a -ldflags '-s -w -extldflags "-static"' .
50
50
ls
51
51
.\fastfinder.exe -h
52
+ - name : Tests
53
+ shell : powershell
54
+ run : |
55
+ $Env:PATH += ";C:/msys64/mingw64/include"
56
+ $Env:PATH += ";C:/msys64/mingw64/lib"
57
+ $Env:PATH += ";C:/msys64/mingw64/lib/pkgconfig"
58
+ $Env:GOOS="windows"
59
+ $Env:GOARCH="amd64"
60
+ $Env:CGO_CFLAGS="-IC:/msys64/mingw64/include"
61
+ $Env:CGO_LDFLAGS="-LC:/msys64/mingw64/lib -lyara -lcrypto"
62
+ $Env:PKG_CONFIG_PATH="C:/msys64/mingw64/lib/pkgconfig"
63
+ cd $Env:GITHUB_WORKSPACE
64
+ go test -v
You can’t perform that action at this time.
0 commit comments