ci: disable quicer build cache fro cross-build jobs
This commit is contained in:
parent
33fb2125a3
commit
c8170f6a50
|
@ -26,7 +26,6 @@ jobs:
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
BUILD_PROFILES: ${{ steps.get_profiles.outputs.BUILD_PROFILES }}
|
BUILD_PROFILES: ${{ steps.get_profiles.outputs.BUILD_PROFILES }}
|
||||||
DEP_QUICER_REF: ${{ steps.deps-refs.outputs.DEP_QUICER_REF }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -35,12 +34,6 @@ jobs:
|
||||||
path: source
|
path: source
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Get deps git refs for cache
|
|
||||||
id: deps-refs
|
|
||||||
working-directory: source
|
|
||||||
run: |
|
|
||||||
bash -x scripts/get-dep-refs.sh
|
|
||||||
make clean-all
|
|
||||||
- name: Get profiles to build
|
- name: Get profiles to build
|
||||||
id: get_profiles
|
id: get_profiles
|
||||||
run: |
|
run: |
|
||||||
|
@ -156,12 +149,6 @@ jobs:
|
||||||
kerl build ${{ matrix.otp }}
|
kerl build ${{ matrix.otp }}
|
||||||
kerl install ${{ matrix.otp }} $HOME/.kerl/${{ matrix.otp }}
|
kerl install ${{ matrix.otp }} $HOME/.kerl/${{ matrix.otp }}
|
||||||
|
|
||||||
- name: load quicer cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: source/_build/default/lib/quicer/
|
|
||||||
key: ${{ matrix.os }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ needs.prepare.outputs.DEP_QUICER_REF }}
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
working-directory: source
|
working-directory: source
|
||||||
env:
|
env:
|
||||||
|
@ -288,13 +275,6 @@ jobs:
|
||||||
path: .
|
path: .
|
||||||
- name: unzip source code
|
- name: unzip source code
|
||||||
run: unzip -q source.zip
|
run: unzip -q source.zip
|
||||||
- name: load quicer cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
source/_build/default/lib/quicer/
|
|
||||||
source/deps/quicer/
|
|
||||||
key: ${{ matrix.os }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ needs.prepare.outputs.DEP_QUICER_REF }}
|
|
||||||
- name: build emqx packages
|
- name: build emqx packages
|
||||||
working-directory: source
|
working-directory: source
|
||||||
env:
|
env:
|
||||||
|
@ -394,14 +374,6 @@ jobs:
|
||||||
|
|
||||||
- uses: docker/setup-buildx-action@v1
|
- uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
- name: load quicer cache
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
source/_build/default/lib/quicer/
|
|
||||||
source/deps/quicer/
|
|
||||||
key: ${{ matrix.os[0] }}-${{ matrix.otp }}-${{ matrix.arch }}-${{ needs.prepare.outputs.DEP_QUICER_REF }}
|
|
||||||
|
|
||||||
- name: Login for docker.
|
- name: Login for docker.
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
if: matrix.arch == 'amd64' && matrix.registry == 'docker.io'
|
if: matrix.arch == 'amd64' && matrix.registry == 'docker.io'
|
||||||
|
|
Loading…
Reference in New Issue