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
matrix:
profile:
- ["emqx", "el7"]
- ["emqx-enterprise", "ubuntu20.04"]
- ["emqx", "24.3.4.2-1", "el7"]
- ["emqx", "25.1.2-2", "ubuntu20.04"]
- ["emqx-enterprise", "24.3.4.2-1", "ubuntu20.04"]
builder:
- 5.0-26
otp:
- 24.3.4.2-1
- 25.1.2-2
elixir:
- 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:
- uses: AutoModality/action-clean@v1
@ -75,7 +73,7 @@ jobs:
./scripts/pkg-tests.sh ${EMQX_NAME}-elixir-pkg
- uses: actions/upload-artifact@v3
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] }}/*
- uses: actions/upload-artifact@v3
with:
@ -92,7 +90,6 @@ jobs:
profile:
- emqx
otp:
- 24.3.4
- 25.1.2
steps:
- uses: actions/checkout@v3
@ -134,7 +131,6 @@ jobs:
- emqx-enterprise
otp:
- 24.3.4.2-1
- 25.1.2-2
os:
- macos-11
- macos-12-arm64