You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.5 KiB

3 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
6 months ago
1 year ago
  1. name: MacOS
  2. on:
  3. push:
  4. branches:
  5. - '*'
  6. paths:
  7. - '*.sh'
  8. - '.github/workflows/MacOS.yml'
  9. pull_request:
  10. branches:
  11. - dev
  12. paths:
  13. - '*.sh'
  14. - '.github/workflows/MacOS.yml'
  15. concurrency:
  16. group: ${{ github.workflow }}-${{ github.ref }}
  17. cancel-in-progress: true
  18. jobs:
  19. MacOS:
  20. strategy:
  21. matrix:
  22. include:
  23. - TEST_ACME_Server: "LetsEncrypt.org_test"
  24. CA_ECDSA: ""
  25. CA: ""
  26. CA_EMAIL: ""
  27. TEST_PREFERRED_CHAIN: (STAGING)
  28. #- TEST_ACME_Server: "ZeroSSL.com"
  29. # CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA"
  30. # CA: "ZeroSSL RSA Domain Secure Site CA"
  31. # CA_EMAIL: "githubtest@acme.sh"
  32. # TEST_PREFERRED_CHAIN: ""
  33. runs-on: macos-latest
  34. env:
  35. TEST_LOCAL: 1
  36. TEST_ACME_Server: ${{ matrix.TEST_ACME_Server }}
  37. CA_ECDSA: ${{ matrix.CA_ECDSA }}
  38. CA: ${{ matrix.CA }}
  39. CA_EMAIL: ${{ matrix.CA_EMAIL }}
  40. TEST_PREFERRED_CHAIN: ${{ matrix.TEST_PREFERRED_CHAIN }}
  41. steps:
  42. - uses: actions/checkout@v4
  43. - name: Install tools
  44. run: brew install socat
  45. - name: Clone acmetest
  46. run: |
  47. cd .. \
  48. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git \
  49. && cp -r acme.sh acmetest/
  50. - name: Run acmetest
  51. run: |
  52. cd ../acmetest \
  53. && sudo --preserve-env ./letest.sh