ci: fix build matrix
This commit is contained in:
parent
ae9311c257
commit
db28de649e
|
@ -196,6 +196,10 @@ jobs:
|
||||||
build_machine:
|
build_machine:
|
||||||
- aws-arm64
|
- aws-arm64
|
||||||
- ubuntu-20.04
|
- ubuntu-20.04
|
||||||
|
builder:
|
||||||
|
- 5.0-26
|
||||||
|
elixir:
|
||||||
|
- 1.13.4
|
||||||
exclude:
|
exclude:
|
||||||
- arch: arm64
|
- arch: arm64
|
||||||
build_machine: ubuntu-20.04
|
build_machine: ubuntu-20.04
|
||||||
|
@ -207,13 +211,17 @@ jobs:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
os: ubuntu20.04
|
os: ubuntu20.04
|
||||||
build_machine: ubuntu-20.04
|
build_machine: ubuntu-20.04
|
||||||
is_elixir: yes
|
builder: 5.0-26
|
||||||
|
elixir: 1.13.4
|
||||||
|
release_with: elixir
|
||||||
- profile: emqx
|
- profile: emqx
|
||||||
otp: 25.1.2-2
|
otp: 25.1.2-2
|
||||||
arch: amd64
|
arch: amd64
|
||||||
os: amzn2
|
os: amzn2
|
||||||
build_machine: ubuntu-20.04
|
build_machine: ubuntu-20.04
|
||||||
is_elixir: yes
|
builder: 5.0-26
|
||||||
|
elixir: 1.13.4
|
||||||
|
release_with: elixir
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
@ -231,8 +239,8 @@ jobs:
|
||||||
- name: build emqx packages
|
- name: build emqx packages
|
||||||
working-directory: source
|
working-directory: source
|
||||||
env:
|
env:
|
||||||
BUILDER: '5.0-26'
|
BUILDER: ${{ matrix.builder }}
|
||||||
ELIXIR: '1.13.4'
|
ELIXIR: ${{ matrix.elixir }}
|
||||||
OTP: ${{ matrix.otp }}
|
OTP: ${{ matrix.otp }}
|
||||||
PROFILE: ${{ matrix.profile }}
|
PROFILE: ${{ matrix.profile }}
|
||||||
ARCH: ${{ matrix.arch }}
|
ARCH: ${{ matrix.arch }}
|
||||||
|
@ -246,14 +254,14 @@ jobs:
|
||||||
cd /emqx
|
cd /emqx
|
||||||
fi
|
fi
|
||||||
echo "pwd is $PWD"
|
echo "pwd is $PWD"
|
||||||
PkgTypes="tgz pkg"
|
PKGTYPES="tgz pkg"
|
||||||
IS_ELIXIR="no"
|
IS_ELIXIR="no"
|
||||||
if [ ${{ matrix.is_elixir }} == 'yes' ]; then
|
if [ ${{ matrix.release_with }} == 'elixir' ]; then
|
||||||
PkgTypes="tgz"
|
PKGTYPES="tgz"
|
||||||
# set Elixir build flag
|
# set Elixir build flag
|
||||||
IS_ELIXIR="yes"
|
IS_ELIXIR="yes"
|
||||||
fi
|
fi
|
||||||
for PKGTYPE in ${PkgTypes};
|
for PKGTYPE in ${PKGTYPES};
|
||||||
do
|
do
|
||||||
./scripts/buildx.sh \
|
./scripts/buildx.sh \
|
||||||
--profile "${PROFILE}" \
|
--profile "${PROFILE}" \
|
||||||
|
|
Loading…
Reference in New Issue