From 9429b2dce0b80fa6775fdf70cd7e87f8fe799271 Mon Sep 17 00:00:00 2001 From: Marek Fedorovic Date: Wed, 27 Sep 2023 12:30:55 +1000 Subject: [PATCH] fix: Add sasl dev packages to docker host when building for Linux and Aarch --- .github/workflows/npm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 68847c41..4cc97397 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -19,7 +19,7 @@ jobs: - host: macos-latest target: aarch64-apple-darwin buildCommand: | - cd $SDK_JS_HOME && npm run build -- --target aarch64-apple-darwin + brew update && brew install cyrus-sasl && $SDK_JS_HOME && npm run build -- --target aarch64-apple-darwin - host: windows-latest target: x86_64-pc-windows-msvc buildCommand: | @@ -27,7 +27,7 @@ jobs: - host: ubuntu-latest target: x86_64-unknown-linux-gnu buildCommand: | - cd $SDK_JS_HOME && npm run build -- --target x86_64-unknown-linux-gnu + sudo apt-get update -y && sudo apt-get install -y libsasl2-dev && cd $SDK_JS_HOME && npm run build -- --target x86_64-unknown-linux-gnu name: stable - ${{ matrix.settings.target }} - node@16 runs-on: ${{ matrix.settings.host }}