blob: 6504d524574ed6c4a2968808e726c87ade463567 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
name: Test
on:
push:
pull_request:
branches:
- master
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install -y devscripts fakeroot debhelper
- name: Install YARA
run: |
git clone --depth 1 https://github.com/plusvic/yara.git yara3
cd yara3
bash ./build.sh
./configure
make
cp ./yara ../php-malware-finder/
cd ..
- name: Run tests
run: make tests
- name: Build debian package
run: make deb
|