run-checker-ci.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. # Jobs run per pull request submission
  8. name: Run-checker CI
  9. on: [pull_request, push]
  10. permissions:
  11. contents: read
  12. env:
  13. OSSL_RUN_CI_TESTS: 1
  14. jobs:
  15. run-checker:
  16. strategy:
  17. fail-fast: false
  18. matrix:
  19. opt: [
  20. no-cmp,
  21. no-cms,
  22. no-dgram,
  23. no-dh,
  24. no-dtls,
  25. no-ec,
  26. no-ecx,
  27. no-http,
  28. no-legacy,
  29. no-sock,
  30. enable-ssl-trace,
  31. no-stdio,
  32. no-threads,
  33. no-thread-pool,
  34. no-default-thread-pool,
  35. no-tls,
  36. no-tls1_2,
  37. no-tls1_3,
  38. enable-trace enable-fips,
  39. no-ui,
  40. no-quic
  41. ]
  42. runs-on: ubuntu-latest
  43. steps:
  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: Check platform symbol usage
  58. run: ./util/checkplatformsyms.pl ./util/platform_symbols/unix-symbols.txt ./libcrypto.so ./libssl.so
  59. - name: make test
  60. run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}