summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMathieu Deous2021-11-01 18:36:51 +0100
committerMathieu Deous2021-11-02 10:46:50 +0100
commitca20eb1d75f6f7ed346a83fc13d13f711c81a21e (patch)
tree14d095a11dcabbabb4fb6fee73cd808212eb4d90 /.github/workflows
parent785031106a4ce199fe4fce04705cf0e07796e261 (diff)
try to migrate to github actions
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..583b794
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,35 @@
1name: Test
2
3on:
4 push:
5 pull_request:
6 branches:
7 - master
8
9jobs:
10 test:
11 name: Test
12 runs-on: ubuntu-latest
13 steps:
14 - uses: actions/checkout@v2
15
16 - name: Install apt dependencies
17 run: |
18 apt-get update
19 apt-get install -y devscripts fakeroot debhelper
20
21 - name: Install YARA
22 run: |
23 git clone --depth 1 https://github.com/plusvic/yara.git yara3
24 cd yara3
25 bash ./build.sh
26 ./configure
27 make
28 cp ./yara ../php-malware-finder/
29 cd ..
30
31 - name: Run tests
32 run: make tests
33
34 - name: Build debian package
35 run: make deb