1name: Linux
2on:
3  push:
4    branches:
5      - '*'
6    paths:
7      - '*.sh'
8      - '.github/workflows/Linux.yml'
9
10  pull_request:
11    branches:
12      - dev
13    paths:
14      - '*.sh'
15      - '.github/workflows/Linux.yml'
16
17
18
19jobs:
20  Linux:
21    strategy:
22      matrix:
23        os: ["ubuntu:latest", "debian:latest", "almalinux:latest", "fedora:latest", "centos:latest", "opensuse/leap:latest", "alpine:latest", "oraclelinux:8", "kalilinux/kali", "archlinux:latest", "mageia", "gentoo/stage3-amd64"]
24    runs-on: ubuntu-latest
25    env:
26      TEST_LOCAL: 1
27    steps:
28    - uses: actions/checkout@v2
29    - name: Clone acmetest
30      run: |
31          cd .. \
32          && git clone https://github.com/acmesh-official/acmetest.git \
33          && cp -r acme.sh acmetest/
34    - name: Run acmetest
35      run: |
36          cd ../acmetest \
37          && ./rundocker.sh  testplat ${{ matrix.os }}
38
39
40
41