run-checker-merge.yml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. enable-weak-ssl-ciphers,
  34. enable-zlib,
  35. ]
  36. runs-on: ubuntu-latest
  37. steps:
  38. - name: Adjust ASLR for sanitizer
  39. run: |
  40. sudo cat /proc/sys/vm/mmap_rnd_bits
  41. sudo sysctl -w vm.mmap_rnd_bits=28
  42. - uses: actions/checkout@v4
  43. - name: checkout fuzz/corpora submodule
  44. run: git submodule update --init --depth 1 fuzz/corpora
  45. - name: config
  46. run: CC=clang ./config --banner=Configured --strict-warnings ${{ matrix.opt }}
  47. - name: config dump
  48. run: ./configdata.pm --dump
  49. - name: make
  50. run: make -s -j4
  51. - name: get cpu info
  52. run: |
  53. cat /proc/cpuinfo
  54. if [ -x apps/openssl ] ; then ./util/opensslwrap.sh version -c ; fi
  55. - name: make test
  56. run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}