|
|
@ -16,34 +16,89 @@ on: |
|
|
|
|
|
|
|
jobs: |
|
|
|
Ubuntu: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
include: |
|
|
|
- TEST_ACME_Server: "" |
|
|
|
CA_ECDSA: "" |
|
|
|
CA: "" |
|
|
|
CA_EMAIL: "" |
|
|
|
- TEST_ACME_Server: "https://acme.zerossl.com/v2/DV90" |
|
|
|
CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA" |
|
|
|
CA: "ZeroSSL RSA Domain Secure Site CA" |
|
|
|
CA_EMAIL: "githubtest@acme.sh" |
|
|
|
runs-on: ubuntu-latest |
|
|
|
env: |
|
|
|
TEST_LOCAL: 1 |
|
|
|
ACME_DIRECTORY: ${{ matrix.TEST_ACME_Server }} |
|
|
|
CA_ECDSA: ${{ matrix.CA_ECDSA }} |
|
|
|
CA: ${{ matrix.CA }} |
|
|
|
CA_EMAIL: ${{ matrix.CA_EMAIL }} |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install tools |
|
|
|
run: sudo apt-get install -y socat |
|
|
|
- name: Clone acmetest |
|
|
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ |
|
|
|
run: | |
|
|
|
cd .. \ |
|
|
|
&& git clone https://github.com/acmesh-official/acmetest.git \ |
|
|
|
&& cp -r acme.sh acmetest/ |
|
|
|
- name: Run acmetest |
|
|
|
run: cd ../acmetest && sudo --preserve-env ./letest.sh |
|
|
|
run: | |
|
|
|
cd ../acmetest \ |
|
|
|
&& sudo --preserve-env ./letest.sh |
|
|
|
|
|
|
|
MacOS: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
include: |
|
|
|
- TEST_ACME_Server: "" |
|
|
|
CA_ECDSA: "" |
|
|
|
CA: "" |
|
|
|
CA_EMAIL: "" |
|
|
|
- TEST_ACME_Server: "https://acme.zerossl.com/v2/DV90" |
|
|
|
CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA" |
|
|
|
CA: "ZeroSSL RSA Domain Secure Site CA" |
|
|
|
CA_EMAIL: "githubtest@acme.sh" |
|
|
|
runs-on: macos-latest |
|
|
|
env: |
|
|
|
TEST_LOCAL: 1 |
|
|
|
ACME_DIRECTORY: ${{ matrix.TEST_ACME_Server }} |
|
|
|
CA_ECDSA: ${{ matrix.CA_ECDSA }} |
|
|
|
CA: ${{ matrix.CA }} |
|
|
|
CA_EMAIL: ${{ matrix.CA_EMAIL }} |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install tools |
|
|
|
run: brew install socat |
|
|
|
- name: Clone acmetest |
|
|
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ |
|
|
|
run: | |
|
|
|
cd .. \ |
|
|
|
&& git clone https://github.com/acmesh-official/acmetest.git \ |
|
|
|
&& cp -r acme.sh acmetest/ |
|
|
|
- name: Run acmetest |
|
|
|
run: cd ../acmetest && sudo --preserve-env ./letest.sh |
|
|
|
run: | |
|
|
|
cd ../acmetest \ |
|
|
|
&& sudo --preserve-env ./letest.sh |
|
|
|
|
|
|
|
Windows: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
include: |
|
|
|
- TEST_ACME_Server: "" |
|
|
|
CA_ECDSA: "" |
|
|
|
CA: "" |
|
|
|
CA_EMAIL: "" |
|
|
|
- TEST_ACME_Server: "https://acme.zerossl.com/v2/DV90" |
|
|
|
CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA" |
|
|
|
CA: "ZeroSSL RSA Domain Secure Site CA" |
|
|
|
CA_EMAIL: "githubtest@acme.sh" |
|
|
|
runs-on: windows-latest |
|
|
|
env: |
|
|
|
ACME_DIRECTORY: ${{ matrix.TEST_ACME_Server }} |
|
|
|
CA_ECDSA: ${{ matrix.CA_ECDSA }} |
|
|
|
CA: ${{ matrix.CA }} |
|
|
|
CA_EMAIL: ${{ matrix.CA_EMAIL }} |
|
|
|
TEST_LOCAL: 1 |
|
|
|
#The 80 port is used by Windows server, we have to use a custom port, tunnel will also use this port. |
|
|
|
Le_HTTPPort: 8888 |
|
|
@ -77,9 +132,24 @@ jobs: |
|
|
|
run: cd ../acmetest && bash.exe -c ./letest.sh |
|
|
|
|
|
|
|
FreeBSD: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
include: |
|
|
|
- TEST_ACME_Server: "" |
|
|
|
CA_ECDSA: "" |
|
|
|
CA: "" |
|
|
|
CA_EMAIL: "" |
|
|
|
- TEST_ACME_Server: "https://acme.zerossl.com/v2/DV90" |
|
|
|
CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA" |
|
|
|
CA: "ZeroSSL RSA Domain Secure Site CA" |
|
|
|
CA_EMAIL: "githubtest@acme.sh" |
|
|
|
runs-on: macos-latest |
|
|
|
env: |
|
|
|
TEST_LOCAL: 1 |
|
|
|
ACME_DIRECTORY: ${{ matrix.TEST_ACME_Server }} |
|
|
|
CA_ECDSA: ${{ matrix.CA_ECDSA }} |
|
|
|
CA: ${{ matrix.CA }} |
|
|
|
CA_EMAIL: ${{ matrix.CA_EMAIL }} |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: vmactions/cf-tunnel@v0.0.2 |
|
|
@ -93,18 +163,34 @@ jobs: |
|
|
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ |
|
|
|
- uses: vmactions/freebsd-vm@v0.1.4 |
|
|
|
with: |
|
|
|
envs: 'TEST_LOCAL TestingDomain' |
|
|
|
envs: 'TEST_LOCAL TestingDomain ACME_DIRECTORY CA_ECDSA CA CA_EMAIL' |
|
|
|
nat: | |
|
|
|
"8080": "80" |
|
|
|
prepare: pkg install -y socat curl |
|
|
|
usesh: true |
|
|
|
run: | |
|
|
|
cd ../acmetest && ./letest.sh |
|
|
|
cd ../acmetest \ |
|
|
|
&& ./letest.sh |
|
|
|
|
|
|
|
Solaris: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
include: |
|
|
|
- TEST_ACME_Server: "" |
|
|
|
CA_ECDSA: "" |
|
|
|
CA: "" |
|
|
|
CA_EMAIL: "" |
|
|
|
- TEST_ACME_Server: "https://acme.zerossl.com/v2/DV90" |
|
|
|
CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA" |
|
|
|
CA: "ZeroSSL RSA Domain Secure Site CA" |
|
|
|
CA_EMAIL: "githubtest@acme.sh" |
|
|
|
runs-on: macos-latest |
|
|
|
env: |
|
|
|
TEST_LOCAL: 1 |
|
|
|
ACME_DIRECTORY: ${{ matrix.TEST_ACME_Server }} |
|
|
|
CA_ECDSA: ${{ matrix.CA_ECDSA }} |
|
|
|
CA: ${{ matrix.CA }} |
|
|
|
CA_EMAIL: ${{ matrix.CA_EMAIL }} |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: vmactions/cf-tunnel@v0.0.2 |
|
|
@ -118,10 +204,11 @@ jobs: |
|
|
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ |
|
|
|
- uses: vmactions/solaris-vm@v0.0.3 |
|
|
|
with: |
|
|
|
envs: 'TEST_LOCAL TestingDomain' |
|
|
|
envs: 'TEST_LOCAL TestingDomain ACME_DIRECTORY CA_ECDSA CA CA_EMAIL' |
|
|
|
nat: | |
|
|
|
"8080": "80" |
|
|
|
prepare: pkgutil -y -i socat curl |
|
|
|
run: | |
|
|
|
cd ../acmetest && ./letest.sh |
|
|
|
cd ../acmetest \ |
|
|
|
&& ./letest.sh |
|
|
|
|