CI: build on Ubuntu 22.04

This commit is contained in:
Nedko Arnaudov 2022-08-29 20:14:13 +03:00
parent a6a62ce16b
commit e13e2fc2fb
2 changed files with 45 additions and 0 deletions

21
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: build
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
ubuntu_22_04:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Build ladi-a2jmidi
shell: bash
run: |
sudo apt-get install libdbus-1-dev liblo-dev libevent-dev
make cibuild

24
GNUmakefile Normal file
View File

@ -0,0 +1,24 @@
.PHONY: default
default:
@echo "This is a project that uses the WAF build system."
@echo ""
@echo "A typical command sequence for configuring,"
@echo "building and installing the software is:"
@echo ""
@echo " ./waf configure --prefix=${HOME}/opt/"
@echo " ./waf"
@echo " ./waf install"
@echo ""
@echo "To get more info about waf configure parameters, run:"
@echo ""
@echo " ./waf configure --help"
@echo ""
@echo "Read the README.rst file for more info."
@echo ""
TOP := $(shell pwd)
EPREFIX := $(TOP)/build/destdir
.PHONY: cibuild
cibuild:
./waf configure --prefix=$(EPREFIX) && ./waf install && $(EPREFIX)/bin/jpl