mirror of
https://github.com/PDP-10/klh10.git
synced 2026-02-08 01:01:56 +00:00
Add CI build using GitHub Actions.
This commit is contained in:
31
.github/workflows/build.yml
vendored
Normal file
31
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
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 base-kl
|
||||
- name: Test
|
||||
run: |
|
||||
cd run/dfkfb
|
||||
../../tmp/bld-kl/kn10-kl dfkfb.ini
|
||||
Reference in New Issue
Block a user