CI: build ubuntu LTS
This commit is contained in:
parent
a12ba336d2
commit
d6f4704910
|
@ -0,0 +1,45 @@
|
|||
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
|
||||
make
|
||||
|
||||
ubuntu_20_04:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Build ladi-a2jmidi
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get install libdbus-1-dev
|
||||
make
|
||||
|
||||
ubuntu_18_04:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Build ladi-a2jmidi
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get install libdbus-1-dev
|
||||
make
|
|
@ -0,0 +1,12 @@
|
|||
TOP:=$(shell pwd)
|
||||
|
||||
.PHONY: a2jmidi
|
||||
a2jmidi:
|
||||
rm -rf jack2
|
||||
git clone -b $(shell git symbolic-ref --short HEAD) --depth=1 --recurse-submodules --shallow-submodules https://github.com/LADI/jack2 build/jack2
|
||||
cd build/jack2 && python3 ./waf configure --prefix=$(TOP)/build/destdir/usr
|
||||
cd build/jack2 && python3 ./waf
|
||||
cd build/jack2 && python3 ./waf install
|
||||
PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:$(TOP)/build/destdir/usr/lib/pkgconfig python3 ./waf configure --prefix=$(TOP)/build/destdir/usr
|
||||
python3 ./waf
|
||||
python3 ./waf install
|
Loading…
Reference in New Issue