42 lines
976 B
YAML
Raw Normal View History

2021-06-14 11:50:19 +08:00
name: Linux
on:
push:
branches:
- '*'
paths:
2021-06-20 16:57:58 +08:00
- '*.sh'
2021-06-25 00:01:46 +08:00
- '.github/workflows/Linux.yml'
2021-06-20 16:57:58 +08:00
2021-06-14 11:50:19 +08:00
pull_request:
branches:
- dev
paths:
2021-06-20 16:57:58 +08:00
- '*.sh'
2021-06-24 23:30:16 +08:00
- '.github/workflows/Linux.yml'
2021-06-20 16:57:58 +08:00
2021-06-14 11:50:19 +08:00
jobs:
Linux:
strategy:
matrix:
2022-01-03 13:41:57 +08:00
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"]
2021-06-14 11:50:19 +08:00
runs-on: ubuntu-latest
env:
TEST_LOCAL: 1
2021-10-13 00:28:14 +08:00
TEST_PREFERRED_CHAIN: (STAGING) Pretend Pear X1
2021-06-14 11:50:19 +08:00
steps:
- uses: actions/checkout@v2
- name: Clone acmetest
run: |
cd .. \
&& git clone https://github.com/acmesh-official/acmetest.git \
&& cp -r acme.sh acmetest/
- name: Run acmetest
run: |
cd ../acmetest \
2021-06-14 11:52:45 +08:00
&& ./rundocker.sh testplat ${{ matrix.os }}
2021-06-14 11:50:19 +08:00