logo

badwolf

minimalist and privacy-oriented web browser based on WebKitGTK git clone https://hacktivis.me/git/badwolf.git

.gitlab-ci.yml (828B)


  1. # SPDX-FileCopyrightText: 2019-2022 Badwolf Authors <https://hacktivis.me/projects/badwolf>
  2. # SPDX-License-Identifier: BSD-3-Clause
  3. image: archlinux/base:latest
  4. before_script:
  5. - pacman -Syu --noconfirm make clang
  6. stages:
  7. - lint
  8. - test
  9. - analysis
  10. test:
  11. stage: test
  12. script:
  13. - pacman -Syu --noconfirm webkit2gtk pkg-config gettext gcc
  14. - make CC=gcc test
  15. - make clean
  16. - make CC=clang test
  17. - make install
  18. format:
  19. stage: lint
  20. script:
  21. - pacman -Syu --noconfirm git
  22. - make format
  23. - git diff --exit-code
  24. scan-build:
  25. stage: analysis
  26. script:
  27. - pacman -Syu --noconfirm webkit2gtk pkg-config gettext gcc
  28. - scan-build --use-cc=gcc -o scan-build-gcc make
  29. - make clean
  30. - scan-build --use-cc=clang -o scan-build-clang make
  31. artifacts:
  32. paths:
  33. - scan-build-gcc/*
  34. - scan-build-clang/*