.github/workflows/kmodcheck.yml #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: driver & kernel compilation check | |
on: | |
workflow_dispatch: | |
inputs: | |
kernel-version: | |
description: "kernel version to be compiled with" | |
type: string | |
required: true | |
default: "6.4" | |
jobs: | |
ORCA-compilation-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install prerequisites | |
run: | | |
sudo apt update | |
sudo apt install | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
ref: kmodcomp | |
path: workspace | |
- name: Compile kernel and cdapci module | |
run: | | |
#ls -l ${{ github.workspace }}/workspace | |
cd ${{ github.workspace }}/workspace/testscripts | |
./lincdacompile.sh ${{ github.events.inputs.kernel-version }} ${{ github.workspace }}/src |