Просмотр исходного кода

fix: set AUTO_INSTALL_BUILD_DEPS for CI

Shawn 3 лет назад
Родитель
Сommit
48db7ceb5f

+ 2 - 0
.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

+ 4 - 0
.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

+ 2 - 2
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"