Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 900fc6b

Browse files
committed
chore: more build jobs
1 parent 2eebe08 commit 900fc6b

2 files changed

Lines changed: 47 additions & 1 deletion

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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

.github/workflows/build-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
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: |

0 commit comments

Comments
 (0)