1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-01-11 23:52:54 +00:00

Merge pull request #63 from PDP-10/lars/ci

Update continuous integration
This commit is contained in:
Rhialto The M 2021-08-15 14:35:58 +02:00 committed by GitHub
commit 2b7daffb80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 28 deletions

View File

@ -1,16 +0,0 @@
env:
CIRRUS_CLONE_DEPTH: 1
ARCH: amd64
task:
freebsd_instance:
image: freebsd-12-1-release-amd64
install_script:
- pkg upgrade -y
- pkg install -y gmake pkgconf autotools
script:
- ./autogen.sh
- mkdir tmp
- cd tmp
- ../configure --enable-lights
- gmake -C bld-ks-its

31
.github/workflows/build.yml vendored Normal file
View 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

View File

@ -1,12 +0,0 @@
language: c
dist: trusty
sudo: required
install: sudo apt-get install libusb-1.0-0-dev pkg-config
script:
- ./autogen.sh
- mkdir tmp
- cd tmp
- ../configure --enable-lights
- make base-kl
- cd ../run/dfkfb
- ../../tmp/bld-kl/kn10-kl dfkfb.ini