diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index d82ae6b9a..f8003653c 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: #os: [windows-2019, macos-10.15, ubuntu-18.04, ubuntu-20.04] - os: [windows-latest, ubuntu-20.04] + os: [windows-latest, ubuntu-20.04, debian-12] python-version: ["3.8", "3.9", "^3"] include: - os: ubuntu-22.04 @@ -61,7 +61,7 @@ jobs: cd "$GITHUB_WORKSPACE/tests" cmd.exe //C '.\test_pe.bat' - - name: linux run tests + - name: linux(ubuntu) run tests if: contains(matrix.os, 'ubuntu') shell: 'script -q -e -c "bash {0}"' run: | @@ -81,6 +81,22 @@ jobs: cd tests && ./test_onlinux.sh fi + - name: linux(debian) run tests + if: contains(matrix.os, 'debian') + shell: bash + run: | + cd examples + rm -rf rootfs + wget https://github.com/qilingframework/rootfs/archive/refs/heads/master.zip + unzip master.zip && mv rootfs-master rootfs + cd../qiling + cd ../examples/rootfs/x86_linux/kernel && unzip -P infected m0hamed_rootkit.ko.zip + cd ../../../../ + pip3 install -e .[RE] + + pip3 install poetry setuptools wheel + cd tests && ./test_onlinux.sh + # - name: mac run tests # if: contains(matrix.os, 'macos') # shell: bash