Skip to content

Commit

Permalink
Merge pull request #26 from emqx/ci-fix-release-workflow
Browse files Browse the repository at this point in the history
ci: fix release workflow
  • Loading branch information
id authored Feb 3, 2023
2 parents 309482d + 559c9b1 commit c868829
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c868829

Please sign in to comment.