fix: set AUTO_INSTALL_BUILD_DEPS for CI
This commit is contained in:
parent
d80b7c720b
commit
48db7ceb5f
|
@ -167,6 +167,8 @@ jobs:
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
working-directory: source
|
working-directory: source
|
||||||
|
env:
|
||||||
|
AUTO_INSTALL_BUILD_DEPS: 1
|
||||||
run: |
|
run: |
|
||||||
. $HOME/.kerl/${{ matrix.otp }}/activate
|
. $HOME/.kerl/${{ matrix.otp }}/activate
|
||||||
make ensure-rebar3
|
make ensure-rebar3
|
||||||
|
|
|
@ -172,6 +172,8 @@ jobs:
|
||||||
kerl install ${{ matrix.otp }} $HOME/.kerl/${{ matrix.otp }}
|
kerl install ${{ matrix.otp }} $HOME/.kerl/${{ matrix.otp }}
|
||||||
- name: Get deps git refs for cache
|
- name: Get deps git refs for cache
|
||||||
id: deps-refs
|
id: deps-refs
|
||||||
|
env:
|
||||||
|
AUTO_INSTALL_BUILD_DEPS: 1
|
||||||
run: |
|
run: |
|
||||||
. $HOME/.kerl/${{ matrix.otp }}/activate
|
. $HOME/.kerl/${{ matrix.otp }}/activate
|
||||||
make ensure-rebar3
|
make ensure-rebar3
|
||||||
|
@ -184,6 +186,8 @@ jobs:
|
||||||
path: _build/default/lib/quicer/
|
path: _build/default/lib/quicer/
|
||||||
key: ${{ matrix.macos }}-${{ matrix.otp }}-macos-${{ steps.deps-refs.outputs.DEP_QUICER_REF }}
|
key: ${{ matrix.macos }}-${{ matrix.otp }}-macos-${{ steps.deps-refs.outputs.DEP_QUICER_REF }}
|
||||||
- name: build ${{ matrix.profile }}
|
- name: build ${{ matrix.profile }}
|
||||||
|
env:
|
||||||
|
AUTO_INSTALL_BUILD_DEPS: 1
|
||||||
run: |
|
run: |
|
||||||
. $HOME/.kerl/${{ matrix.otp }}/activate
|
. $HOME/.kerl/${{ matrix.otp }}/activate
|
||||||
make ensure-rebar3
|
make ensure-rebar3
|
||||||
|
|
|
@ -4,8 +4,8 @@ set -euo pipefail
|
||||||
|
|
||||||
AUTO_INSTALL_BUILD_DEPS="${AUTO_INSTALL_BUILD_DEPS:-0}"
|
AUTO_INSTALL_BUILD_DEPS="${AUTO_INSTALL_BUILD_DEPS:-0}"
|
||||||
|
|
||||||
required_packages_mac_osx="freetds unixodbc"
|
required_packages_mac_osx="freetds unixodbc bison"
|
||||||
required_cmds_mac_osx="curl zip unzip autoconf automake bison cmake openssl"
|
required_cmds_mac_osx="curl zip unzip autoconf automake cmake openssl"
|
||||||
|
|
||||||
dependency_missing() {
|
dependency_missing() {
|
||||||
echo "error: $1 is not found in the system"
|
echo "error: $1 is not found in the system"
|
||||||
|
|
Loading…
Reference in New Issue