~hp/patchmatrix

f6426bb40514f89c1bc4e9fbfd417e13c6e48fc7 — Hanspeter Portner 1 year, 4 months ago 6dcf8a0
Add ci build recipe
A .builds/alpine-latest.yml => .builds/alpine-latest.yml +46 -0
@@ 0,0 1,46 @@
# SPDX-FileCopyrightText: Hanspeter Portner <dev@open-music-kontrollers.ch>
# SPDX-License-Identifier: CC0-1.0

---

image: alpine/latest

packages:
  - reuse
  - meson
  - lv2-dev
  - glew-dev
  - glu-dev
  - libx11-dev
  - libxext-dev
  - jack-dev

environment:
  project: patchmatrix

tasks:
  - setup: |
      cd "${project}"
      meson setup build \
        -Dbuildtype=release \
        -Dprefer_static=true \
        -Dprefix="/tmp/${project}"
  - build: |
      cd "${project}"
      ninja -C build install
  - test: |
      cd "${project}"
      ninja -C build test
  - pack: |
      cd /tmp
      tar -czf artifacts.tar.gz "${project}"

artifacts:
  - /tmp/artifacts.tar.gz

triggers:
  - action: email
    condition: failure
    to: "<dev@open-music-kontrollers.ch>"

...

M meson.build => meson.build +2 -2
@@ 84,7 84,7 @@ mixer_srcs = [

executable('patchmatrix_mixer', mixer_srcs,
	c_args : c_args,
	dependencies : dsp_deps,
	dependencies : [dsp_deps, ui_deps],
	include_directories : incs,
	install : true)



@@ 94,7 94,7 @@ monitor_srcs = [

executable('patchmatrix_monitor', monitor_srcs,
	c_args : c_args,
	dependencies : dsp_deps,
	dependencies : [dsp_deps, ui_deps],
	include_directories : incs,
	install : true)


M meson_options.txt => meson_options.txt +1 -1
@@ 5,4 5,4 @@ option('build-tests',
	type : 'boolean',
	value : true)

option('version', type : 'string', value : '0.27.13')
option('version', type : 'string', value : '0.27.23')

M patchmatrix/patchmatrix.h => patchmatrix/patchmatrix.h +1 -0
@@ 29,6 29,7 @@

#include <varchunk/varchunk.h>

#define NK_PUGL_API
#include <nk_pugl/nk_pugl.h>

#define PATCHMATRIX_URI              "http://open-music-kontrollers.ch/patchmatrix"

M src/patchmatrix.c => src/patchmatrix.c +0 -1
@@ 9,7 9,6 @@
#include <patchmatrix/patchmatrix_jack.h>
#include <patchmatrix/patchmatrix_nk.h>

#define NK_PUGL_API
#define NK_PUGL_IMPLEMENTATION
#include <nk_pugl/nk_pugl.h>


M src/patchmatrix_nk.c => src/patchmatrix_nk.c +3 -3
@@ 7,9 7,9 @@
#include <dirent.h>
#include <libgen.h>

#include <patchmatrix_jack.h>
#include <patchmatrix_db.h>
#include <patchmatrix_nk.h>
#include <patchmatrix/patchmatrix_jack.h>
#include <patchmatrix/patchmatrix_db.h>
#include <patchmatrix/patchmatrix_nk.h>

const struct nk_color grid_line_color = {40, 40, 40, 255};
const struct nk_color grid_background_color = {30, 30, 30, 255};