Skip to content

Commit

Permalink
Merge pull request #240 from qzhuyan/ci/william/fix-otp26-release
Browse files Browse the repository at this point in the history
ci: fix otp26 release
  • Loading branch information
qzhuyan authored Dec 3, 2023
2 parents 6346f4a + 45ab379 commit 7122f7a
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,32 @@ jobs:
fail-fast: false
matrix:
otp:
- 25.3.2-2
- 26.1.2-1
- 25
- 26
openssl:
- openssl3
- openssl
os:
- macos-12
- macos-11
- macos-12-arm64
runs-on: ${{ matrix.os }}
steps:

- uses: emqx/setup-otp@v1.0.0
- name: Configure Homebrew cache
uses: actions/cache@v3
with:
os: ${{ matrix.os }}
otp: ${{ matrix.otp }}

path: |
~/Library/Caches/Homebrew/
~/Library/Caches/Homebrew/downloads/
key: brew-${{ matrix.os }}-${{ matrix.otp }}
- name: prepare
run: |
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
brew install erlang@${{ matrix.otp }}
- name: install rebar3
run: |
wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
cp ./rebar3 /usr/local/bin/rebar3
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand All @@ -38,6 +47,8 @@ jobs:
env:
QUIC_TLS: ${{ matrix.openssl }}
run: |
export PATH="/usr/local/opt/erlang@${{ matrix.otp }}/bin:$PATH"
erl -eval 'erlang:display(erlang:system_info(system_version)),halt()'
export QUIC_TLS
BUILD_RELEASE=1 make
Expand Down

0 comments on commit 7122f7a

Please sign in to comment.