]> git.proxmox.com Git - mirror_acme.sh.git/blob - .github/workflows/Solaris.yml
fix env
[mirror_acme.sh.git] / .github / workflows / Solaris.yml
1 name: Solaris
2 on:
3 push:
4 branches:
5 - '*'
6 paths:
7 - '*.sh'
8 - '.github/workflows/Solaris.yml'
9
10 pull_request:
11 branches:
12 - dev
13 paths:
14 - '*.sh'
15 - '.github/workflows/Solaris.yml'
16
17
18 jobs:
19 Solaris:
20 strategy:
21 matrix:
22 include:
23 - TEST_ACME_Server: "LetsEncrypt.org_test"
24 CA_ECDSA: ""
25 CA: ""
26 CA_EMAIL: ""
27 - TEST_ACME_Server: "ZeroSSL.com"
28 CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA"
29 CA: "ZeroSSL RSA Domain Secure Site CA"
30 CA_EMAIL: "githubtest@acme.sh"
31 runs-on: macos-latest
32 env:
33 TEST_LOCAL: 1
34 TEST_ACME_Server: ${{ matrix.TEST_ACME_Server }}
35 CA_ECDSA: ${{ matrix.CA_ECDSA }}
36 CA: ${{ matrix.CA }}
37 CA_EMAIL: ${{ matrix.CA_EMAIL }}
38 steps:
39 - uses: actions/checkout@v2
40 - uses: vmactions/cf-tunnel@v0.0.2
41 id: tunnel
42 with:
43 protocol: http
44 port: 8080
45 - name: Set envs
46 run: echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
47 - name: Clone acmetest
48 run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
49 - uses: vmactions/solaris-vm@v0.0.3
50 with:
51 envs: 'TEST_LOCAL TestingDomain TEST_ACME_Server CA_ECDSA CA CA_EMAIL'
52 nat: |
53 "8080": "80"
54 prepare: pkgutil -y -i socat curl
55 run: |
56 cd ../acmetest \
57 && ./letest.sh
58