Use Ubuntu 22, phase out 18. #38
Workflow file for this run
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 | |
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 |