|
@ -17,8 +17,8 @@ jobs: |
|
|
run: cd ../acmetest && sudo TEST_LOCAL="$TEST_LOCAL" NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh |
|
|
run: cd ../acmetest && sudo TEST_LOCAL="$TEST_LOCAL" NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh |
|
|
|
|
|
|
|
|
MacOS: |
|
|
MacOS: |
|
|
needs: Ubuntu |
|
|
|
|
|
runs-on: macos-latest |
|
|
runs-on: macos-latest |
|
|
|
|
|
needs: Ubuntu |
|
|
env: |
|
|
env: |
|
|
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }} |
|
|
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }} |
|
|
TEST_LOCAL: 1 |
|
|
TEST_LOCAL: 1 |
|
@ -30,3 +30,32 @@ 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 |
|
|
run: cd ../acmetest && sudo TEST_LOCAL="$TEST_LOCAL" NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh |
|
|
run: cd ../acmetest && sudo TEST_LOCAL="$TEST_LOCAL" NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh |
|
|
|
|
|
|
|
|
|
|
|
Windows: |
|
|
|
|
|
runs-on: windows-latest |
|
|
|
|
|
needs: MacOS |
|
|
|
|
|
env: |
|
|
|
|
|
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }} |
|
|
|
|
|
TEST_LOCAL: 1 |
|
|
|
|
|
steps: |
|
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
- name: Install cygwin base packages with chocolatey |
|
|
|
|
|
run: | |
|
|
|
|
|
choco config get cacheLocation |
|
|
|
|
|
choco install cygwin |
|
|
|
|
|
shell: cmd |
|
|
|
|
|
- name: Install cygwin additional packages |
|
|
|
|
|
run: | |
|
|
|
|
|
C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -s http://mirrors.kernel.org/sourceware/cygwin/ -P socat,curl,cron,git |
|
|
|
|
|
shell: cmd |
|
|
|
|
|
- name: Set ENV |
|
|
|
|
|
run: | |
|
|
|
|
|
echo '::set-env name=PATH::C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin' |
|
|
|
|
|
- name: Clone acmetest |
|
|
|
|
|
shell: cmd |
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|