You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

81 lines
2.0 KiB

  1. stages:
  2. - build
  3. variables:
  4. GIT_SUBMODULE_STRATEGY: normal
  5. before_script:
  6. - echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
  7. - apk update
  8. - apk add musl-dev linux-headers meson ninja gcc scdoc ncurses
  9. - apk add libxkbcommon-dev pixman-dev freetype-dev fontconfig-dev harfbuzz-dev
  10. - apk add wayland-dev wayland-protocols
  11. - apk add git
  12. - apk add check-dev
  13. - apk add ttf-hack font-noto-emoji
  14. - mkdir -p subprojects && cd subprojects
  15. - git clone https://codeberg.org/dnkl/tllist.git
  16. - git clone https://codeberg.org/dnkl/fcft.git
  17. - cd ..
  18. debug-x64:
  19. image: alpine:edge
  20. stage: build
  21. script:
  22. - mkdir -p bld/debug
  23. - cd bld/debug
  24. - meson --buildtype=debug -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true ../../
  25. - ninja -v -k0
  26. - ninja -v test
  27. artifacts:
  28. reports:
  29. junit: bld/debug/meson-logs/testlog.junit.xml
  30. release-x64:
  31. image: alpine:edge
  32. stage: build
  33. script:
  34. - mkdir -p bld/release
  35. - cd bld/release
  36. - meson --buildtype=release -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true ../../
  37. - ninja -v -k0
  38. - ninja -v test
  39. artifacts:
  40. reports:
  41. junit: bld/release/meson-logs/testlog.junit.xml
  42. debug-x86:
  43. image: i386/alpine:edge
  44. stage: build
  45. script:
  46. - mkdir -p bld/debug
  47. - cd bld/debug
  48. - meson --buildtype=debug -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true ../../
  49. - ninja -v -k0
  50. - ninja -v test
  51. artifacts:
  52. reports:
  53. junit: bld/debug/meson-logs/testlog.junit.xml
  54. release-x86:
  55. image: i386/alpine:edge
  56. stage: build
  57. script:
  58. - mkdir -p bld/release
  59. - cd bld/release
  60. - meson --buildtype=release -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true ../../
  61. - ninja -v -k0
  62. - ninja -v test
  63. artifacts:
  64. reports:
  65. junit: bld/release/meson-logs/testlog.junit.xml
  66. codespell:
  67. image: alpine:edge
  68. stage: build
  69. script:
  70. - apk add python3
  71. - apk add py3-pip
  72. - pip install codespell
  73. - codespell *.c *.h