chore(autotest): debug build

This commit is contained in:
mengzhenyu 2022-01-28 14:10:55 +08:00
parent a26f139079
commit 56aefc89d4
1 changed files with 4 additions and 6 deletions

View File

@ -20,11 +20,11 @@ jobs:
profile: profile:
- emqx - emqx
otp: otp:
- 24.1.5-4 - 24.1.5-3
os: os:
- ubuntu20.04 - ubuntu20.04
container: "ghcr.io/emqx/emqx-builder/5.0-5:${{ matrix.otp }}-${{ matrix.os }}" container: "ghcr.io/emqx/emqx-builder/5.0-3:${{ matrix.otp }}-${{ matrix.os }}"
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
@ -43,19 +43,17 @@ jobs:
with: with:
path: | path: |
_build/default/lib/rocksdb/ _build/default/lib/rocksdb/
deps/rocksdb/
key: ${{ matrix.os }}-${{ matrix.otp }}-amd64-${{ steps.deps-refs.outputs.DEP_ROCKSDB_REF }} key: ${{ matrix.os }}-${{ matrix.otp }}-amd64-${{ steps.deps-refs.outputs.DEP_ROCKSDB_REF }}
- name: load quicer cache - name: load quicer cache
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: | path: |
_build/default/lib/quicer/ _build/default/lib/quicer/
deps/quicer/
key: ${{ matrix.os }}-${{ matrix.otp }}-amd64-${{ steps.deps-refs.outputs.DEP_QUICER_REF }} key: ${{ matrix.os }}-${{ matrix.otp }}-amd64-${{ steps.deps-refs.outputs.DEP_QUICER_REF }}
- name: build and test tgz package - name: build and test tgz package
run: | run: |
make ${EMQX_NAME}-tgz make ${EMQX_NAME}-tgz
.ci/build_packages/tests.sh "$EMQX_PKG_NAME" tgz amd64 .ci/build_packages/tests.sh "$EMQX_PKG_NAME" tgz
- name: run static checks - name: run static checks
if: contains(matrix.os, 'ubuntu') if: contains(matrix.os, 'ubuntu')
run: | run: |
@ -63,7 +61,7 @@ jobs:
- name: build and test deb/rpm packages - name: build and test deb/rpm packages
run: | run: |
make ${EMQX_NAME}-pkg make ${EMQX_NAME}-pkg
.ci/build_packages/tests.sh "$EMQX_PKG_NAME" pkg amd64 .ci/build_packages/tests.sh "$EMQX_PKG_NAME" pkg
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
name: ${{ matrix.os }} name: ${{ matrix.os }}