2021-06-14 03:50:19 +00:00
|
|
|
name: Linux
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- '*'
|
|
|
|
paths:
|
2021-06-20 08:57:58 +00:00
|
|
|
- '*.sh'
|
2021-06-24 16:01:46 +00:00
|
|
|
- '.github/workflows/Linux.yml'
|
2021-06-20 08:57:58 +00:00
|
|
|
|
2021-06-14 03:50:19 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- dev
|
|
|
|
paths:
|
2021-06-20 08:57:58 +00:00
|
|
|
- '*.sh'
|
2021-06-24 15:30:16 +00:00
|
|
|
- '.github/workflows/Linux.yml'
|
2021-06-20 08:57:58 +00:00
|
|
|
|
2021-06-14 03:50:19 +00:00
|
|
|
|
2022-08-18 12:30:11 +00:00
|
|
|
concurrency:
|
2022-08-23 14:15:50 +00:00
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
2022-08-18 12:30:11 +00:00
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-14 03:50:19 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
Linux:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-02-04 05:52:23 +00: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 03:50:19 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
TEST_LOCAL: 1
|
2021-10-12 16:28:14 +00:00
|
|
|
TEST_PREFERRED_CHAIN: (STAGING) Pretend Pear X1
|
2022-05-11 02:20:35 +00:00
|
|
|
TEST_ACME_Server: "LetsEncrypt.org_test"
|
2021-06-14 03:50:19 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Clone acmetest
|
|
|
|
run: |
|
|
|
|
cd .. \
|
2022-10-17 10:49:10 +00:00
|
|
|
&& git clone --depth=1 https://github.com/acmesh-official/acmetest.git \
|
2021-06-14 03:50:19 +00:00
|
|
|
&& cp -r acme.sh acmetest/
|
|
|
|
- name: Run acmetest
|
|
|
|
run: |
|
|
|
|
cd ../acmetest \
|
2021-06-14 03:52:45 +00:00
|
|
|
&& ./rundocker.sh testplat ${{ matrix.os }}
|
2021-06-14 03:50:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
|