run-checker-merge.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License 2.0 (the "License"). You may not use
  4. # this file except in compliance with the License. You can obtain a copy
  5. # in the file LICENSE in the source distribution or at
  6. # https://www.openssl.org/source/license.html
  7. name: Run-checker merge
  8. # Jobs run per merge to master
  9. on: [push]
  10. permissions:
  11. contents: read
  12. jobs:
  13. run-checker:
  14. strategy:
  15. fail-fast: false
  16. matrix:
  17. opt: [
  18. enable-asan no-shared no-asm -DOPENSSL_SMALL_FOOTPRINT,
  19. no-dgram,
  20. no-dso,
  21. no-dynamic-engine,
  22. no-engine no-shared,
  23. no-err,
  24. no-filenames,
  25. enable-ubsan no-asm -DPEDANTIC -DOPENSSL_SMALL_FOOTPRINT -fno-sanitize=alignment,
  26. no-unit-test,
  27. enable-weak-ssl-ciphers,
  28. enable-zlib,
  29. ]
  30. runs-on: ubuntu-latest
  31. steps:
  32. - uses: actions/checkout@v2
  33. - name: config
  34. run: CC=clang ./config --banner=Configured --strict-warnings ${{ matrix.opt }}
  35. - name: config dump
  36. run: ./configdata.pm --dump
  37. - name: make
  38. run: make -s -j4
  39. - name: make test
  40. run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}