deb/blksnap-dkms: small improve to build-deps #115
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: Test build | |
on: | |
push: | |
branches: | |
- "*" | |
paths-ignore: | |
- "README.md" | |
- "doc/**" | |
- "patches/**" | |
pull_request: | |
branches: | |
- "*" | |
paths-ignore: | |
- "README.md" | |
- "doc/**" | |
- "patches/**" | |
workflow_dispatch: | |
jobs: | |
build: | |
name: amd64 | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install packages required | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y linux-headers-$(uname -r) g++ cmake uuid-dev libboost-program-options-dev libboost-filesystem-dev libssl-dev | |
- name: Build kernel module | |
run: | | |
cd module | |
./mk.sh build | |
- name: Build blksnap-dev, blksnap-tools and blksnap-tests | |
working-directory: . | |
run: | | |
cmake . | |
make |