49 lines
1.1 KiB
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
2022-08-18 20:30:11 +08:00
concurrency:
2022-08-23 22:15:50 +08:00
group: ${{ github.workflow }}-${{ github.ref }}
2022-08-18 20:30:11 +08:00
cancel-in-progress: true
2021-06-14 11:50:19 +08:00
jobs:
Linux:
strategy:
matrix:
2022-02-04 13:52:23 +08:00
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"]
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
2022-05-11 10:20:35 +08:00
TEST_ACME_Server: "LetsEncrypt.org_test"
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