run-checker-merge.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # Copyright 2021-2024 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 enable-ubsan no-shared no-asm -DOPENSSL_SMALL_FOOTPRINT,
  19. no-ct,
  20. no-dso,
  21. no-dynamic-engine,
  22. no-ec2m,
  23. no-engine no-shared,
  24. no-err,
  25. no-filenames,
  26. enable-ubsan no-asm -DOPENSSL_SMALL_FOOTPRINT -fno-sanitize=alignment,
  27. no-module,
  28. no-ocsp,
  29. no-pinshared,
  30. no-srp,
  31. no-srtp,
  32. no-ts,
  33. no-integrity-only-ciphers,
  34. enable-weak-ssl-ciphers,
  35. enable-zlib,
  36. enable-pie,
  37. ]
  38. runs-on: ubuntu-latest
  39. steps:
  40. - name: Adjust ASLR for sanitizer
  41. run: |
  42. sudo cat /proc/sys/vm/mmap_rnd_bits
  43. sudo sysctl -w vm.mmap_rnd_bits=28
  44. - uses: actions/checkout@v4
  45. - name: checkout fuzz/corpora submodule
  46. run: git submodule update --init --depth 1 fuzz/corpora
  47. - name: config
  48. run: CC=clang ./config --banner=Configured --strict-warnings ${{ matrix.opt }}
  49. - name: config dump
  50. run: ./configdata.pm --dump
  51. - name: make
  52. run: make -s -j4
  53. - name: get cpu info
  54. run: |
  55. cat /proc/cpuinfo
  56. if [ -x apps/openssl ] ; then ./util/opensslwrap.sh version -c ; fi
  57. - name: make test
  58. run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}