Skip to content

Commit

Permalink
Install needed kafka pkg on linux 386 and macos
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Sep 16, 2021
1 parent bdddadb commit 8fcebca
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
matrix:
go-version: [1.17, 1.16, 1.15]
os: [ubuntu-20.04, windows-2019, macos-10.15]
os: [ubuntu-18.04, windows-2019, macos-10.15]
# GitHub Actions does not support arm* architectures on default
# runners. It is possible to accomplish this with a self-hosted runner
# if we want to add this in the future:
Expand All @@ -53,6 +53,15 @@ jobs:
- uses: actions/setup-go@v2.1.4
with:
go-version: ${{ matrix.go-version }}
- name: Install librdkafka-dev for ubuntu
if: contains(matrix.os, 'ubuntu') && matrix.arch == '386'
run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get -y install librdkafka-dev:i386
- name: Install librdkafka-dev for MacOS
if: contains(matrix.os, 'macos')
run: brew install librdkafka pkg-config
- run: make test-short
env:
GOARCH: ${{ matrix.arch }}
Expand Down

0 comments on commit 8fcebca

Please sign in to comment.