os-zoo.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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: OS Zoo CI
  8. on:
  9. schedule:
  10. - cron: '0 5 * * *'
  11. permissions:
  12. contents: read
  13. jobs:
  14. unix:
  15. strategy:
  16. fail-fast: false
  17. matrix:
  18. os: [
  19. macos-10.15,
  20. macos-11,
  21. ubuntu-18.04,
  22. ubuntu-20.04,
  23. ]
  24. runs-on: ${{ matrix.os }}
  25. steps:
  26. - uses: actions/checkout@v2
  27. - name: config
  28. run: |
  29. CC=${{ matrix.zoo.cc }} ./config --banner=Configured \
  30. -Wall -Werror --strict-warnings enable-fips
  31. - name: config dump
  32. run: ./configdata.pm --dump
  33. - name: make
  34. run: make -s -j4
  35. - name: make test
  36. run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
  37. windows:
  38. strategy:
  39. fail-fast: false
  40. matrix:
  41. os: [
  42. windows-2019,
  43. windows-2022
  44. ]
  45. runs-on: ${{ matrix.os }}
  46. steps:
  47. - uses: actions/checkout@v2
  48. - uses: ilammy/msvc-dev-cmd@v1
  49. - uses: ilammy/setup-nasm@v1
  50. - uses: shogo82148/actions-setup-perl@v1
  51. - name: prepare the build directory
  52. run: mkdir _build
  53. - name: config
  54. working-directory: _build
  55. run: |
  56. perl ..\Configure --banner=Configured no-makedepend enable-fips
  57. - name: config dump
  58. working-directory: _build
  59. run: ./configdata.pm --dump
  60. - name: build
  61. working-directory: _build
  62. run: nmake /S
  63. - name: test
  64. working-directory: _build
  65. run: nmake test VERBOSE_FAILURE=yes HARNESS_JOBS=4