mirror of
https://github.com/PDP-10/klh10.git
synced 2026-02-08 01:01:56 +00:00
32 lines
629 B
YAML
32 lines
629 B
YAML
name: Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{matrix.os}}
|
|
strategy:
|
|
matrix:
|
|
os: [ ubuntu-22.04, ubuntu-24.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
|