From 77c95710e4d23f0c332c8183914b39da0c7fe6f2 Mon Sep 17 00:00:00 2001 From: wangyunlai <90242350+hnwyllmm1@users.noreply.github.com> Date: Tue, 18 Jul 2023 20:33:55 +0800 Subject: [PATCH] use matrix --- .github/workflows/compile.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index c06e68dc06..4b445979fc 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -8,7 +8,11 @@ on: jobs: ubuntu-x86_64: + strategy: + matrix: + image: [ubuntu-20.04, centos:7] runs-on: ubuntu-20.04 + container: ${{ matrix.image }} steps: - uses: actions/checkout@v3