Browse Source

add CI builds

master
Alexandros Theodotou 3 years ago
parent
commit
408352ce23
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 20
      .builds/archlinux.yml
  2. 20
      .builds/debian.yml
  3. 24
      .builds/fedora.yml
  4. 22
      .builds/freebsd.yml
  5. 2
      README.md
  6. 10
      meson_options.txt

20
.builds/archlinux.yml

@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
image: archlinux
packages:
- meson
- libx11
- python
- ninja
- librsvg
- cairo
sources:
- https://git.sr.ht/~alextee/ztoolkit
tasks:
- setup: |
cd ztoolkit
meson build -Denable_rsvg=true
- build: |
cd ztoolkit
ninja -C build
- test: |
cd ztoolkit
ninja -C build test

20
.builds/debian.yml

@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
image: debian/buster
packages:
- meson
- ninja-build
- python3
- librsvg2-dev
- libx11-dev
- libcairo2-dev
sources:
- https://git.sr.ht/~alextee/ztoolkit
tasks:
- setup: |
cd ztoolkit
meson build -Denable_rsvg=true
- build: |
cd ztoolkit
ninja -C build
- test: |
cd ztoolkit
ninja -C build test

24
.builds/fedora.yml

@ -0,0 +1,24 @@ @@ -0,0 +1,24 @@
image: fedora/latest
packages:
- gcc-c++
- gcc
- pkgconfig
- python3
- gettext
- sed
- meson
- libX11-devel
- cairo-devel
- librsvg2-devel
sources:
- https://git.sr.ht/~alextee/ztoolkit
tasks:
- setup: |
cd ztoolkit
meson build -Denable_rsvg=true
- build: |
cd ztoolkit
ninja -C build
- test: |
cd ztoolkit
ninja -C build test

22
.builds/freebsd.yml

@ -0,0 +1,22 @@ @@ -0,0 +1,22 @@
image: freebsd/latest
packages:
- meson
- ninja
- python36
- pkgconf
- libX11
- libXext
- cairo
- librsvg2
sources:
- https://git.sr.ht/~alextee/ztoolkit
tasks:
- setup: |
cd ztoolkit
meson build -Denable_rsvg=true
- build: |
cd ztoolkit
ninja -C build
- test: |
cd ztoolkit
ninja -C build test

2
README.md

@ -1,6 +1,8 @@ @@ -1,6 +1,8 @@
ZToolkit
========
[![builds.sr.ht status](https://builds.sr.ht/~alextee/ztoolkit.svg)](https://builds.sr.ht/~alextee/ztoolkit?)
ZToolkit (Ztk) is a cross-platform GUI toolkit
heavily inspired by GTK.

10
meson_options.txt

@ -25,11 +25,5 @@ option ( @@ -25,11 +25,5 @@ option (
'enable_rsvg',
type: 'boolean',
value: false,
description: '''Enable SVG support through librsvg.
This requires the whole glib stack.''')
option (
'strict_flags',
type: 'boolean',
value: false,
description: 'Strict compilation flags')
description: '''Enable SVG support through
librsvg. This requires the whole glib stack.''')

Loading…
Cancel
Save