| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- name: Build slim packages
- on:
- - pull_request
- - workflow_dispatch
- jobs:
- build:
- runs-on: ubuntu-20.04
- strategy:
- matrix:
- erl_otp:
- - erl23.2.7
- os:
- - ubuntu20.04
- - centos7
- container: emqx/build-env:${{ matrix.erl_otp }}-${{ matrix.os }}
- steps:
- - uses: actions/checkout@v1
- - name: build packages
- run: |
- if make emqx-ee --dry-run > /dev/null 2>&1; then
- echo "https://ci%40emqx.io:${{ secrets.CI_GIT_TOKEN }}@github.com" > $HOME/.git-credentials
- git config --global credential.helper store
- echo "${{ secrets.CI_GIT_TOKEN }}" >> source/scripts/git-token
- make emqx-ee-pkg
- else
- make emqx-pkg
- fi
- - name: pakcages test
- run: |
- export CODE_PATH=$GITHUB_WORKSPACE
- .ci/build_packages/tests.sh
- - uses: actions/upload-artifact@v2
- with:
- name: ${{ matrix.os }}
- path: _packages/**/*.zip
|