135 lines
2 KiB
YAML
135 lines
2 KiB
YAML
kind: pipeline
|
|
type: docker
|
|
name: clang
|
|
|
|
steps:
|
|
- name: debug
|
|
image: ubuntu:21.10
|
|
|
|
environment:
|
|
DEBIAN_FRONTEND: noninteractive
|
|
CC: clang
|
|
|
|
commands:
|
|
- apt-get -qq update
|
|
- apt-get -qq --force-yes install clang meson
|
|
- ./configure debug
|
|
- meson compile -v -C build
|
|
- meson install -C build
|
|
|
|
- name: release
|
|
image: ubuntu:21.10
|
|
|
|
environment:
|
|
DEBIAN_FRONTEND: noninteractive
|
|
CC: clang
|
|
|
|
commands:
|
|
- apt-get -qq update
|
|
- apt-get -qq --force-yes install clang meson
|
|
- ./configure release
|
|
- meson compile -v -C build
|
|
- meson install -C build
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
type: docker
|
|
name: gcc
|
|
|
|
steps:
|
|
- name: debug
|
|
image: ubuntu:21.10
|
|
|
|
environment:
|
|
DEBIAN_FRONTEND: noninteractive
|
|
CC: gcc
|
|
|
|
commands:
|
|
- apt-get -qq update
|
|
- apt-get -qq --force-yes install gcc meson
|
|
- ./configure debug
|
|
- meson compile -v -C build
|
|
- meson install -C build
|
|
|
|
- name: release
|
|
image: ubuntu:21.10
|
|
|
|
environment:
|
|
DEBIAN_FRONTEND: noninteractive
|
|
CC: gcc
|
|
|
|
commands:
|
|
- apt-get -qq update
|
|
- apt-get -qq --force-yes install gcc meson
|
|
- ./configure release
|
|
- meson compile -v -C build
|
|
- meson install -C build
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
type: docker
|
|
name: analysis
|
|
|
|
steps:
|
|
- name: tidy
|
|
image: ubuntu:21.10
|
|
|
|
environment:
|
|
DEBIAN_FRONTEND: noninteractive
|
|
CC: clang
|
|
|
|
commands:
|
|
- apt-get -qq update
|
|
- apt-get -qq --force-yes install clang clang-tidy meson
|
|
- ./configure
|
|
- clang-tidy -p=build src/*.c
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
|
|
depends_on:
|
|
- clang
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
type: docker
|
|
name: musl
|
|
|
|
steps:
|
|
- name: debug
|
|
pull: never
|
|
image: alpine:meson
|
|
|
|
environment:
|
|
CC: gcc
|
|
LDFLAGS: -static
|
|
|
|
commands:
|
|
- ./configure debug
|
|
- meson compile -v -C build
|
|
- meson install -C build
|
|
|
|
- name: release
|
|
pull: never
|
|
image: alpine:meson
|
|
|
|
environment:
|
|
CC: gcc
|
|
LDFLAGS: -static
|
|
|
|
commands:
|
|
- ./configure release
|
|
- meson compile -v -C build
|
|
- meson install -C build
|