]> git.proxmox.com Git - mirror_acme.sh.git/blame - .github/workflows/Linux.yml
Reduce acmetest git clone depth to speed up CI pipeline
[mirror_acme.sh.git] / .github / workflows / Linux.yml
CommitLineData
cc9ec806 1name: Linux\r
2on:\r
3 push:\r
4 branches:\r
5 - '*'\r
6 paths:\r
79fac446 7 - '*.sh'\r
e9bdf02c 8 - '.github/workflows/Linux.yml'\r
79fac446 9\r
cc9ec806 10 pull_request:\r
11 branches:\r
12 - dev\r
13 paths:\r
79fac446 14 - '*.sh'\r
c66e157a 15 - '.github/workflows/Linux.yml'\r
79fac446 16\r
cc9ec806 17\r
70351677 18concurrency: \r
b8887929 19 group: ${{ github.workflow }}-${{ github.ref }}\r
70351677 20 cancel-in-progress: true\r
21\r
22\r
23\r
cc9ec806 24\r
25jobs:\r
26 Linux:\r
27 strategy:\r
28 matrix:\r
0f762d98 29 os: ["ubuntu:latest", "debian:latest", "almalinux:latest", "fedora:latest", "centos:7", "opensuse/leap:latest", "alpine:latest", "oraclelinux:8", "kalilinux/kali", "archlinux:latest", "mageia", "gentoo/stage3"]\r
cc9ec806 30 runs-on: ubuntu-latest\r
31 env:\r
32 TEST_LOCAL: 1\r
0510da08 33 TEST_PREFERRED_CHAIN: (STAGING) Pretend Pear X1\r
bee5cb55 34 TEST_ACME_Server: "LetsEncrypt.org_test"\r
cc9ec806 35 steps:\r
36 - uses: actions/checkout@v2\r
37 - name: Clone acmetest\r
38 run: |\r
39 cd .. \\r
424da018 40 && git clone --depth=1 https://github.com/acmesh-official/acmetest.git \\r
cc9ec806 41 && cp -r acme.sh acmetest/\r
42 - name: Run acmetest\r
43 run: |\r
44 cd ../acmetest \\r
da754e9a 45 && ./rundocker.sh testplat ${{ matrix.os }}\r
cc9ec806 46\r
47\r
48\r