add zerossl

This commit is contained in:
neilpang 2021-06-13 15:00:30 +08:00
parent d0b514890a
commit 67c42c5911

View File

@ -16,6 +16,9 @@ on:
jobs:
Ubuntu:
strategy:
matrix:
TEST_ACME_Server: ["", "https://acme.zerossl.com/v2/DV90"]
runs-on: ubuntu-latest
env:
TEST_LOCAL: 1
@ -24,11 +27,20 @@ jobs:
- 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 \
&& export ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \
&& sudo --preserve-env ./letest.sh
MacOS:
strategy:
matrix:
TEST_ACME_Server: ["", "https://acme.zerossl.com/v2/DV90"]
runs-on: macos-latest
env:
TEST_LOCAL: 1
@ -37,11 +49,20 @@ jobs:
- 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 \
&& export ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \
&& sudo --preserve-env ./letest.sh
Windows:
strategy:
matrix:
TEST_ACME_Server: ["", "https://acme.zerossl.com/v2/DV90"]
runs-on: windows-latest
env:
TEST_LOCAL: 1
@ -74,9 +95,15 @@ jobs:
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
- name: Run acmetest
shell: cmd
run: cd ../acmetest && bash.exe -c ./letest.sh
run: |
cd ../acmetest \
set ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \
&& bash.exe -c ./letest.sh
FreeBSD:
strategy:
matrix:
TEST_ACME_Server: ["", "https://acme.zerossl.com/v2/DV90"]
runs-on: macos-latest
env:
TEST_LOCAL: 1
@ -99,9 +126,14 @@ jobs:
prepare: pkg install -y socat curl
usesh: true
run: |
cd ../acmetest && ./letest.sh
cd ../acmetest \
&& export ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \
&& ./letest.sh
Solaris:
strategy:
matrix:
TEST_ACME_Server: ["", "https://acme.zerossl.com/v2/DV90"]
runs-on: macos-latest
env:
TEST_LOCAL: 1
@ -123,5 +155,7 @@ jobs:
"8080": "80"
prepare: pkgutil -y -i socat curl
run: |
cd ../acmetest && ./letest.sh
cd ../acmetest \
&& export ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \
&& ./letest.sh