kernelCTF: fix workflow 2 #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: kernelCTF test action | |
on: | |
workflow_dispatch: | |
push: # hack to make this workflow appear on the UI | |
permissions: {} | |
jobs: | |
cpu_info: | |
runs-on: ubuntu-22.04-4core | |
steps: | |
- name: "KPTI check: cpuinfo" | |
continue-on-error: true | |
run: cat /proc/cpuinfo|grep " pti" | |
- name: "KPTI check: dmesg" | |
continue-on-error: true | |
run: sudo dmesg | grep 'Kernel/User page tables isolation' | |
- name: "KPTI check: dmesg isolation" | |
continue-on-error: true | |
run: sudo dmesg | grep isolation | |
- name: "Meltdown check" | |
continue-on-error: true | |
run: cat /sys/devices/system/cpu/vulnerabilities/meltdown | |
- name: cpuinfo | |
continue-on-error: true | |
run: cat /proc/cpuinfo | |
- name: dmesg | |
continue-on-error: true | |
run: sudo dmesg |