diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index cc02aba6d..bc7478ad1 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -167,6 +167,8 @@ jobs: - name: build working-directory: source + env: + AUTO_INSTALL_BUILD_DEPS: 1 run: | . $HOME/.kerl/${{ matrix.otp }}/activate make ensure-rebar3 diff --git a/.github/workflows/build_slim_packages.yaml b/.github/workflows/build_slim_packages.yaml index f05682daa..c58561663 100644 --- a/.github/workflows/build_slim_packages.yaml +++ b/.github/workflows/build_slim_packages.yaml @@ -172,6 +172,8 @@ jobs: kerl install ${{ matrix.otp }} $HOME/.kerl/${{ matrix.otp }} - name: Get deps git refs for cache id: deps-refs + env: + AUTO_INSTALL_BUILD_DEPS: 1 run: | . $HOME/.kerl/${{ matrix.otp }}/activate make ensure-rebar3 @@ -184,6 +186,8 @@ jobs: path: _build/default/lib/quicer/ key: ${{ matrix.macos }}-${{ matrix.otp }}-macos-${{ steps.deps-refs.outputs.DEP_QUICER_REF }} - name: build ${{ matrix.profile }} + env: + AUTO_INSTALL_BUILD_DEPS: 1 run: | . $HOME/.kerl/${{ matrix.otp }}/activate make ensure-rebar3 diff --git a/scripts/prepare-build-deps.sh b/scripts/prepare-build-deps.sh index e1ccdd8b3..12daa01bc 100755 --- a/scripts/prepare-build-deps.sh +++ b/scripts/prepare-build-deps.sh @@ -4,8 +4,8 @@ set -euo pipefail AUTO_INSTALL_BUILD_DEPS="${AUTO_INSTALL_BUILD_DEPS:-0}" -required_packages_mac_osx="freetds unixodbc" -required_cmds_mac_osx="curl zip unzip autoconf automake bison cmake openssl" +required_packages_mac_osx="freetds unixodbc bison" +required_cmds_mac_osx="curl zip unzip autoconf automake cmake openssl" dependency_missing() { echo "error: $1 is not found in the system"