]> git.proxmox.com Git - mirror_acme.sh.git/blame - .github/workflows/DragonFlyBSD.yml
fix for curl bugs nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation
[mirror_acme.sh.git] / .github / workflows / DragonFlyBSD.yml
CommitLineData
1ea8cfbf 1name: DragonFlyBSD\r
2on:\r
3 push:\r
4 branches:\r
5 - '*'\r
6 paths:\r
7 - '*.sh'\r
8 - '.github/workflows/DragonFlyBSD.yml'\r
9\r
10 pull_request:\r
11 branches:\r
12 - dev\r
13 paths:\r
14 - '*.sh'\r
15 - '.github/workflows/DragonFlyBSD.yml'\r
16\r
70351677 17concurrency: \r
b8887929 18 group: ${{ github.workflow }}-${{ github.ref }}\r
70351677 19 cancel-in-progress: true\r
20\r
21\r
22\r
1ea8cfbf 23\r
24jobs:\r
25 DragonFlyBSD:\r
26 strategy:\r
27 matrix:\r
28 include:\r
29 - TEST_ACME_Server: "LetsEncrypt.org_test"\r
30 CA_ECDSA: ""\r
31 CA: ""\r
32 CA_EMAIL: ""\r
33 TEST_PREFERRED_CHAIN: (STAGING) Pretend Pear X1\r
34 #- TEST_ACME_Server: "ZeroSSL.com"\r
35 # CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA"\r
36 # CA: "ZeroSSL RSA Domain Secure Site CA"\r
37 # CA_EMAIL: "githubtest@acme.sh"\r
38 # TEST_PREFERRED_CHAIN: ""\r
39 runs-on: macos-12\r
40 env:\r
41 TEST_LOCAL: 1\r
42 TEST_ACME_Server: ${{ matrix.TEST_ACME_Server }}\r
43 CA_ECDSA: ${{ matrix.CA_ECDSA }}\r
44 CA: ${{ matrix.CA }}\r
45 CA_EMAIL: ${{ matrix.CA_EMAIL }}\r
46 TEST_PREFERRED_CHAIN: ${{ matrix.TEST_PREFERRED_CHAIN }}\r
47 steps:\r
d102943a 48 - uses: actions/checkout@v3\r
cdb238e4 49 - uses: vmactions/cf-tunnel@v0\r
1ea8cfbf 50 id: tunnel\r
51 with:\r
52 protocol: http\r
53 port: 8080\r
54 - name: Set envs\r
55 run: echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV\r
56 - name: Clone acmetest\r
424da018 57 run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/\r
bd78120b 58 - uses: vmactions/dragonflybsd-vm@v0\r
1ea8cfbf 59 with:\r
60 envs: 'TEST_LOCAL TestingDomain TEST_ACME_Server CA_ECDSA CA CA_EMAIL TEST_PREFERRED_CHAIN'\r
61 copyback: "false"\r
62 nat: |\r
63 "8080": "80"\r
64 prepare: |\r
b6f62ac4 65 pkg install -y curl socat libnghttp2\r
1ea8cfbf 66 usesh: true\r
67 run: |\r
68 cd ../acmetest \\r
69 && ./letest.sh\r
70\r
71\r