8 - '.github/workflows/Windows.yml'
15 - '.github/workflows/Windows.yml'
19 group: ${{ github.workflow }}-${{ github.ref }}
20 cancel-in-progress: true
28 - TEST_ACME_Server: "LetsEncrypt.org_test"
32 TEST_PREFERRED_CHAIN: (STAGING) Pretend Pear X1
33 #- TEST_ACME_Server: "ZeroSSL.com"
34 # CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA"
35 # CA: "ZeroSSL RSA Domain Secure Site CA"
36 # CA_EMAIL: "githubtest@acme.sh"
37 # TEST_PREFERRED_CHAIN: ""
38 runs-on: windows-latest
40 TEST_ACME_Server: ${{ matrix.TEST_ACME_Server }}
41 CA_ECDSA: ${{ matrix.CA_ECDSA }}
43 CA_EMAIL: ${{ matrix.CA_EMAIL }}
45 #The 80 port is used by Windows server, we have to use a custom port, tunnel will also use this port.
47 TEST_PREFERRED_CHAIN: ${{ matrix.TEST_PREFERRED_CHAIN }}
49 - name: Set git to use LF
51 git config --global core.autocrlf false
52 - uses: actions/checkout@v2
53 - name: Install cygwin base packages with chocolatey
55 choco config get cacheLocation
56 choco install --no-progress cygwin
58 - name: Install cygwin additional packages
60 C:\tools\cygwin\cygwinsetup.exe -qgnNdO -R C:/tools/cygwin -s http://mirrors.kernel.org/sourceware/cygwin/ -P socat,curl,cron,unzip,git,xxd
65 echo PATH=C:\tools\cygwin\bin;C:\tools\cygwin\usr\bin;%PATH% >> %GITHUB_ENV%
70 - name: Clone acmetest
72 run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
75 run: cd ../acmetest && bash.exe -c ./letest.sh