From 559c9b1f840907e34a349c3fe0cf2ae2140bb7de Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Fri, 3 Feb 2023 09:17:11 +0100 Subject: [PATCH] ci: fix release workflow --- .github/workflows/release.yml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec64082..03b70ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,23 +21,22 @@ jobs: fail-fast: false matrix: otp: - - "24" + - "24.3.4.2-1" quic_support: - - true - false os: - ubuntu22.04 - ubuntu20.04 - ubuntu18.04 - ubuntu16.04 + - debian11 - debian10 - debian9 - - rockylinux8 - - rockylinux9 - - centos7 + - el7 + - el8 - amzn2 container: - image: erlang:${{ matrix.otp }} + image: ghcr.io/emqx/emqx-builder/5.0-27:1.13.4-${{ matrix.otp }}-${{ matrix.os }} steps: - uses: actions/checkout@v3 @@ -68,14 +67,25 @@ jobs: steps: - uses: actions/checkout@v3 - id: prepare + shell: bash env: HOMEBREW_NO_AUTO_UPDATE: 1 HOMEBREW_NO_INSTALL_UPGRADE: 1 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 - run: brew install coreutils erlang@${{ matrix.otp }} + run: | + brew install coreutils erlang@${{ matrix.otp }} + brew link erlang@${{ matrix.otp }} + git clone --depth=1 https://github.com/erlang/rebar3.git + cd rebar3 + ./bootstrap + ./rebar3 local install + echo "$HOME/.cache/rebar3/bin" >> $GITHUB_PATH - name: build shell: bash - run: make release + env: + BUILD_WITHOUT_QUIC: 1 + run: | + make release - if: failure() run: cat rebar3.crashdump - run: ./_build/default/bin/emqttb