move to mk-build-deps #41
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 package | |
on: [push] | |
jobs: | |
build: | |
name: Test build for ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: sudo apt-get install -y --no-install-recommends build-essential equivs | |
- name: Install deb dependencies | |
run: mk-build-deps && sudo apt install -y --no-install-recommends ./facetimehd-dkms-build-deps*deb && git clean -xfd | |
- name: Build | |
run: dpkg-buildpackage -us -uc | |
- name: Test install | |
run: sudo dpkg -i ../facetimehd-dkms_*.deb ; cat /var/lib/dkms/facetimehd/*/build/make.log || true | |
- name: Check install | |
run: modinfo facetimehd |