@@ -26,10 +26,10 @@ jobs:
2626 python-version : [3.8, 3.9]
2727
2828 steps :
29- - uses : actions/checkout@v2
29+ - uses : actions/checkout@v3
3030
3131 - name : Set up Python
32- uses : actions/setup-python@v2
32+ uses : actions/setup-python@v4
3333 with :
3434 python-version : ${{ matrix.python-version }}
3535
@@ -38,15 +38,14 @@ jobs:
3838 python -m pip install --upgrade pip
3939 python -m pip install ciphey frida objection
4040 python -m pip install black pytest sphinx sphinx-rtd-theme
41-
4241 # Install click >= 8.0.0 for CLI supports
4342 python -m pip install click==8.0.3
4443
45- - run : sudo apt-get -y install graphviz
44+ - run : sudo apt-get -y install graphviz ninja-build
4645 if : matrix.os == 'ubuntu-latest'
47- - run : brew install graphviz
46+ - run : brew install graphviz ninja
4847 if : matrix.os == 'macOS-latest'
49- - run : choco install graphviz
48+ - run : choco install graphviz ninja
5049 if : matrix.os == 'windows-latest'
5150
5251 - name : Install Quark-Engine
@@ -68,14 +67,12 @@ jobs:
6867 quark -a apk-malware-samples/14d9f1a92dd984d6040cc41ed06e273e.apk -s -g
6968 quark -a apk-malware-samples/14d9f1a92dd984d6040cc41ed06e273e.apk -d -g
7069 quark -a apk-malware-samples/14d9f1a92dd984d6040cc41ed06e273e.apk -s -c
71-
7270 - name : Check Accuracy
7371 shell : bash
7472 run : |
7573 echo "Ahmyth_RESULT=$(quark -a apk-malware-samples/Ahmyth.apk -s -t 100 | grep 100% | wc -l | awk '{print $1}')" >> $GITHUB_ENV
7674 echo "a4db_RESULT=$(quark -a apk-malware-samples/13667fe3b0ad496a0cd157f34b7e0c991d72a4db.apk -s -t 100 | grep 100% | wc -l | awk '{print $1}')" >> $GITHUB_ENV
7775 echo "e273e_RESULT=$(quark -a apk-malware-samples/14d9f1a92dd984d6040cc41ed06e273e.apk -s -t 100 | grep 100% | wc -l | awk '{print $1}')" >> $GITHUB_ENV
78-
7976 - name : Check Ahmyt Result
8077 shell : bash
8178 # This sample should have 16 behaviors with 100% confidence
8582 else
8683 exit 1
8784 fi
88-
8985 - name : Check 13667fe3b0ad496a0cd157f34b7e0c991d72a4db.apk Result
9086 shell : bash
9187 # This sample should have 11 behaviors with 100% confidence
9591 else
9692 exit 1
9793 fi
98-
9994 - name : Check 14d9f1a92dd984d6040cc41ed06e273e.apk Result
10095 shell : bash
10196 # This sample should have 15 behaviors with 100% confidence
0 commit comments