diff --git a/run-vmtest/action.yml b/run-vmtest/action.yml index 40c464c..d635299 100644 --- a/run-vmtest/action.yml +++ b/run-vmtest/action.yml @@ -24,6 +24,10 @@ inputs: Some sub-commands produce output dir within VM file system (/command_output/). If this option is set that dir's content would be copied to corresponding location. default: '' + toolchain: + required: true + type: string + description: The toolchain, e.g gcc, llvm runs: using: "composite" steps: @@ -47,7 +51,7 @@ runs: # need gawk to support `--field-separator` sudo apt-get update && sudo apt-get install -y cpu-checker qemu-kvm qemu-utils qemu-system-x86 qemu-system-s390x qemu-system-arm qemu-guest-agent \ ethtool keyutils iptables \ - gawk + gawk libpcap-dev foldable end install_qemu - name: Configure KVM group perms shell: bash @@ -74,4 +78,9 @@ runs: PROJECT_NAME: "/mnt/vmtest" run: | ${GITHUB_ACTION_PATH}/run.sh + - uses: actions/upload-artifact@v4 + with: + name: tmon-logs-${{ inputs.arch }}-${{ inputs.toolchain }}-${{ inputs.kernel-test }} + if-no-files-found: ignore + path: tmon-logs diff --git a/setup-build-env/action.yml b/setup-build-env/action.yml index 123f677..42e2909 100644 --- a/setup-build-env/action.yml +++ b/setup-build-env/action.yml @@ -24,7 +24,7 @@ runs: run: | echo "::group::Setup" sudo apt-get update - sudo apt-get install -y cmake flex bison build-essential libssl-dev ncurses-dev xz-utils bc rsync libguestfs-tools qemu-kvm qemu-utils linux-image-generic zstd binutils-dev elfutils libcap-dev libelf-dev libdw-dev python3-docutils + sudo apt-get install -y cmake flex bison build-essential libssl-dev ncurses-dev xz-utils bc rsync libguestfs-tools qemu-kvm qemu-utils linux-image-generic zstd binutils-dev elfutils libcap-dev libelf-dev libdw-dev libpcap0.8-dev python3-docutils echo "::endgroup::" - name: Install clang shell: bash