github CI for ladish
parent
4be0b87b4c
commit
84bde69d53
@ -0,0 +1,22 @@
|
||||
name: build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
jobs:
|
||||
# ubuntu-20.04
|
||||
ubuntu_20_04:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Build ladish
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt-get install libdbus-1-dev
|
||||
make
|
@ -0,0 +1,22 @@
|
||||
---
|
||||
|
||||
name: Test wscript files
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master, develop]
|
||||
pull_request:
|
||||
branches: [master, develop]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install flake8 findutils
|
||||
- name: Lint with flake8
|
||||
run: find . -type f \( -iname wscript -or -iname ladish_control \) -exec flake8 {} \;
|
@ -0,0 +1,12 @@
|
||||
TOP:=$(shell pwd)
|
||||
|
||||
.PHONY: ladish
|
||||
ladish:
|
||||
rm -rf jack2
|
||||
git clone -b $(shell git symbolic-ref --short HEAD) --depth=1 --recurse-submodules --shallow-submodules https://github.com/LADI/jack2
|
||||
cd jack2 && python3 ./waf configure --prefix=$(TOP)/build/destdir/usr
|
||||
cd jack2 && python3 ./waf
|
||||
cd 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