ci: cut down slim build matrix

This commit is contained in:
Andrew Mayorov 2022-12-16 17:48:49 +03:00
parent 9be8c4e076
commit f17ebb8796
No known key found for this signature in database
GPG Key ID: 2837C62ACFBFED5D
1 changed files with 5 additions and 9 deletions

View File

@ -29,17 +29,15 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
profile: profile:
- ["emqx", "el7"] - ["emqx", "24.3.4.2-1", "el7"]
- ["emqx-enterprise", "ubuntu20.04"] - ["emqx", "25.1.2-2", "ubuntu20.04"]
- ["emqx-enterprise", "24.3.4.2-1", "ubuntu20.04"]
builder: builder:
- 5.0-26 - 5.0-26
otp:
- 24.3.4.2-1
- 25.1.2-2
elixir: elixir:
- 1.13.4 - 1.13.4
container: "ghcr.io/emqx/emqx-builder/${{ matrix.builder }}:${{ matrix.elixir }}-${{ matrix.otp }}-${{ matrix.profile[1] }}" container: "ghcr.io/emqx/emqx-builder/${{ matrix.builder }}:${{ matrix.elixir }}-${{ matrix.profile[1] }}-${{ matrix.profile[2] }}"
steps: steps:
- uses: AutoModality/action-clean@v1 - uses: AutoModality/action-clean@v1
@ -75,7 +73,7 @@ jobs:
./scripts/pkg-tests.sh ${EMQX_NAME}-elixir-pkg ./scripts/pkg-tests.sh ${EMQX_NAME}-elixir-pkg
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: "${{ matrix.profile[0] }}-${{ matrix.otp }}-${{ matrix.profile[1] }}" name: "${{ matrix.profile[0] }}-${{ matrix.profile[1] }}-${{ matrix.profile[2] }}"
path: _packages/${{ matrix.profile[0] }}/* path: _packages/${{ matrix.profile[0] }}/*
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
@ -92,7 +90,6 @@ jobs:
profile: profile:
- emqx - emqx
otp: otp:
- 24.3.4
- 25.1.2 - 25.1.2
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -134,7 +131,6 @@ jobs:
- emqx-enterprise - emqx-enterprise
otp: otp:
- 24.3.4.2-1 - 24.3.4.2-1
- 25.1.2-2
os: os:
- macos-11 - macos-11
- macos-12-arm64 - macos-12-arm64