Skip to content

Commit

Permalink
CI: Add clang build
Browse files Browse the repository at this point in the history
May detect different errors than gcc; and may enable kasan.
  • Loading branch information
vsrinivas committed Aug 10, 2023
1 parent 78356ce commit c6c861c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,16 @@ jobs:
run: wget https://raw.githubusercontent.com/vsrinivas/kvm-misc/master/vm-vac-reload.exp -O vm-vac-reload.exp && chmod +x ./vm-vac-reload.exp && ./vm-vac-reload.exp
- name: vm-vac-cpu-offline-online.exp
run: wget https://raw.githubusercontent.com/vsrinivas/kvm-misc/master/vm-vac-cpu-offline-online.exp -O vm-vac-cpu-offline-online.exp && chmod +x ./vm-vac-cpu-offline-online.exp && ./vm-vac-cpu-offline-online.exp

build-clang:
runs-on:
- self-hosted

steps:
- uses: actions/checkout@v3
- name: make mrproper
run: make mrproper
- name: config
run: wget https://raw.githubusercontent.com/vsrinivas/kvm-misc/master/.config -O .config
- name: make
run: make CC="ccache clang" -j`nproc` && make CC="ccache clang" M=arch/x86/kvm modules && make CC="ccache clang" M=arch/x86/kvm modules X=b

0 comments on commit c6c861c

Please sign in to comment.