.gitlab-ci.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. build:debian:
  2. image: debian:bookworm-slim
  3. before_script:
  4. - apt-get update && apt-get -y install gcc meson ninja-build git clang-format-14 libgtk-4-dev libtiff-dev libzbar-dev libfeedback-dev libwayland-dev libx11-dev libxrandr-dev libconfig-dev libpulse-dev git
  5. script:
  6. - echo "Building libmegapixels..."
  7. - git clone https://gitlab.com/megapixels-org/libmegapixels.git
  8. - cd libmegapixels
  9. - meson build
  10. - ninja -C build
  11. - ninja -C build install
  12. - cd ..
  13. - echo "Building libdng..."
  14. - git clone https://gitlab.com/megapixels-org/libdng.git
  15. - cd libdng
  16. - meson build
  17. - ninja -C build
  18. - ninja -C build install
  19. - cd ..
  20. - echo "Building megapixels.."
  21. - meson build
  22. - ninja -C build
  23. - ninja -C build test
  24. build:alpine:
  25. image: alpine:edge
  26. before_script:
  27. - apk add --no-cache build-base meson samurai gtk4.0-dev tiff-dev zbar-dev feedbackd-dev wayland-dev libx11-dev libxrandr-dev libconfig-dev pulseaudio-dev git
  28. script:
  29. - echo "Building libmegapixels..."
  30. - git clone https://gitlab.com/megapixels-org/libmegapixels.git
  31. - cd libmegapixels
  32. - meson build
  33. - ninja -C build
  34. - ninja -C build install
  35. - cd ..
  36. - echo "Building libdng..."
  37. - git clone https://gitlab.com/megapixels-org/libdng.git
  38. - cd libdng
  39. - meson build
  40. - ninja -C build
  41. - ninja -C build install
  42. - cd ..
  43. - echo "Building megapixels.."
  44. - meson build
  45. - ninja -C build
  46. - ninja -C build test