File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : LOKI2 Build Linux
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+
9+ env :
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v3
19+
20+ - name : Install Dependencies
21+ run : |
22+ sudo apt-get install automake libtool make gcc pkg-config flex bison clang
23+
24+ - name : Install OpenSSL Dev
25+ run : |
26+ sudo apt-get install libssl-dev
27+
28+ - name : Install YARA
29+ run : |
30+ git clone https://github.com/VirusTotal/yara.git
31+ cd yara
32+ ./bootstrap.sh
33+ ./configure --with-crypto
34+ make
35+ sudo make install
36+
37+ - name : Install Cross-Compile Dependencies
38+ run : |
39+ sudo apt-get install mingw-w64
40+
41+ - name : Add target tool chain
42+ run : |
43+ rustup target add x86_64-pc-windows-gnu
44+
45+ - name : Build
46+ run : cargo build --target x86_64-pc-windows-gnu --verbose
Original file line number Diff line number Diff line change 1919
2020 - name : Install Dependencies
2121 run : |
22- sudo apt-get install automake libtool make gcc pkg-config
22+ sudo apt-get install automake libtool make gcc pkg-config flex bison clang
2323
2424 - name : Install OpenSSL Dev
2525 run : |
You can’t perform that action at this time.
0 commit comments