Skip to content

Use Ubuntu 22, phase out 18. #40

Use Ubuntu 22, phase out 18.

Use Ubuntu 22, phase out 18. #40

Workflow file for this run

name: Build
on: [push, pull_request]
defaults:
run:
shell: bash
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ ubuntu-20.04, ubuntu-22.04 ]
steps:
- uses: actions/checkout@v2
- name: Install dependencies
if: ${{runner.os == 'Linux'}}
run:
sudo apt-get install libusb-1.0-0-dev pkg-config
- name: Build
run: |
./autogen.sh
mkdir tmp
cd tmp
../configure --enable-lights
make
- name: Test
run: |
cd run/dfkfb
../../tmp/bld-kl/kn10-kl dfkfb.ini