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