2
0

alpine-latest-aarch64.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. name: Dinit on alpine-latest-aarch64 CI
  2. on:
  3. push:
  4. branches: [ "master" ]
  5. pull_request:
  6. branches: [ "master" ]
  7. workflow_dispatch:
  8. jobs:
  9. Alpine-latest-aarch64_build:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@v3
  13. - uses: uraimo/run-on-arch-action@v2.3.0
  14. name: Getting depends & build & unit tests & integration tests
  15. with:
  16. arch: aarch64
  17. distro: alpine_latest
  18. run: |
  19. apk add ncurses
  20. echo "$(tput bold) Getting depends:$(tput sgr0) apk update && apk add make g++ m4 file"
  21. apk update
  22. apk add make g++ m4 file
  23. echo "$(tput bold) Print g++ arch:$(tput sgr0) g++ -dumpmachine"
  24. g++ -dumpmachine
  25. echo "$(tput bold) Build:$(tput sgr0) make"
  26. make
  27. echo "$(tput bold) Print dinit executive file architecture:$(tput sgr0) file ./src/dinit"
  28. file ./src/dinit
  29. export LSAN_OPTIONS=verbosity=1:log_threads=1
  30. echo "$(tput bold) Unit tests:$(tput sgr0) make check"
  31. make check
  32. echo "$(tput bold) Integration tests:$(tput sgr0) make check-igr"
  33. make check-igr