~hp/eteroj.lv2

2171a085c66d4e5bb5288a9295d7c2d7d0c093b7 — Hanspeter Portner 6 months ago e27f669
ci: update recipe
2 files changed, 47 insertions(+), 21 deletions(-)

M .builds/alpine-latest.yml
M meson_options.txt
M .builds/alpine-latest.yml => .builds/alpine-latest.yml +46 -20
@@ 6,9 6,14 @@
image: alpine/latest

packages:
  - clang16-analyzer
  - llvm16
  - reuse
  - meson
  - musl-dev
  - hut
  - jq
  - valgrind

  - lv2-dev
  - serd-dev
  - sord-dev


@@ 17,26 22,47 @@ packages:
environment:
  project: eteroj.lv2

secrets:
  - 0545580c-42ac-4700-b322-4e9df924eb07 # runner-ssh
  - 5fe806cd-3af4-4588-9898-8115d9262144 # hut-config
  - d6d10b2a-542a-4b45-b1be-6ef30a8ab558 # git-config
  - 3de1773e-3503-46f5-8ab4-5212026517f4 # pgp-key

sources:
  - https://git.open-music-kontrollers.ch/~hp/ci

tasks:
  - setup: |
      cd "${project}"
      meson setup build \
        -Dbuildtype=release \
        -Dprefer_static=true \
        -Dprefix="/tmp" \
        -Dlv2libdir=""
  - 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
  - gcc: |
      . ~/ci/activate

      ci-meson gcc setup
      ci-meson gcc build
      ci-meson gcc test
      ci-meson gcc memcheck

  - clang: |
      . ~/ci/activate

      ci-meson clang setup
      ci-meson clang build
      ci-meson clang test
      ci-meson clang memcheck

  - analyzer: |
      . ~/ci/activate

      ci-meson analyzer setup
      ci-meson analyzer build
      ci-meson analyzer test

  - sign: |
      . ~/ci/activate

      if ! ci-istag; then
        complete-build
      fi

      ci-archivesign

triggers:
  - action: email

M meson_options.txt => meson_options.txt +1 -1
@@ 9,4 9,4 @@ option('lv2libdir',
	type : 'string',
	value : 'lib/lv2')

option('version', type : 'string', value : '0.11.41')
option('version', type : 'string', value : '0.11.61')