Skip to content

Commit

Permalink
ci: add package test for mac and use OTP 25 for PR tests
Browse files Browse the repository at this point in the history
  • Loading branch information
id committed May 24, 2024
1 parent ec2c57b commit 1f8c6c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
otp:
- "26.2.3-1"
- "25.3.2-2"
os:
- ubuntu24.04
container:
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,19 @@ jobs:
export BUILD_WITHOUT_QUIC=1
make release
- name: Test
shell: bash
run: |
brew install emqx
emqx start
mkdir test-package
cp *.tar.gz test-package/
cd test-package
tar xfz emqttb*.tar.gz
bin/emqttb --loiter 5s @pub -t test @g --host localhost
- if: failure()
run: cat rebar3.crashdump
- run: ./_build/default/bin/emqttb
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
if: startsWith(github.ref, 'refs/tags/')
with:
Expand Down

0 comments on commit 1f8c6c1

Please sign in to comment.