mirror of
https://github.com/PDP-10/klh10.git
synced 2026-02-08 09:11:59 +00:00
Before this build system cleanup, it would have built the same emulator 3 times, or something like that.
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-18.04, ubuntu-20.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
|