kpatch-build: Always do LLVM=1 with CONFIG_CC_IS_CLANG #53
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: build and unit tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
cflags: [ "", "-O2", "-O3" ] | |
runs-on: ubuntu-latest | |
env: | |
CFLAGS: ${{ matrix.cflags }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: dependencies | |
run: sudo apt-get install -y libelf-dev linux-headers-$(uname -r) shellcheck elfutils | |
- name: make | |
run: make | |
- name: submodule update | |
run: git submodule update --init | |
- name: make unit | |
run: make unit | |
- name: make check | |
run: make check | |
- name: install | |
run: sudo make install |