improve docker

This commit is contained in:
xwings
2025-04-01 14:36:13 +08:00
parent c9d6ac8542
commit 5a92718b53
+9 -5
View File
@@ -11,10 +11,10 @@ jobs:
matrix:
#os: [windows-2019, macos-10.15, ubuntu-18.04, ubuntu-20.04]
os: [windows-latest, ubuntu-22.04]
python-version: ["3.9", "3.11"]
python-version: ["3.11"]
include:
- os: ubuntu-22.04
python-version: 3.9
python-version: 3.11
container: Docker
steps:
@@ -72,10 +72,14 @@ jobs:
cd ../qiling
cd ../examples/rootfs/x86_linux/kernel && unzip -P infected m0hamed_rootkit.ko.zip
cd ../../../../
pip3 install -e .[RE]
pip3 install poetry
cd tests && ./test_onlinux.sh
pip3 install -e .
if [ ${{ matrix.contrainer }} == ${{ matrix.os }} ]; then
docker run -it --rm -v ${GITHUB_WORKSPACE}:/qiling qilingframework/qiling:dev bash -c "cd tests && ./test_onlinux.sh"
else
pip3 install poetry
cd tests && ./test_onlinux.sh
fi
# - name: mac run tests
# if: contains(matrix.os, 'macos')