Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix otp26 release #240

Merged
merged 1 commit into from
Dec 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/[email protected]
- 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