Update ci-builds.yml

pull/4283/head
Miro Stauder 3 years ago committed by GitHub
parent 6044195b85
commit c07d4b030a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -92,18 +92,18 @@ jobs:
cd proxysql/
if [[ "${{ matrix.type }}" =~ "-tap" ]]; then
# build proxysql
sed -i "/command/c \ command: bash -l -c 'cd /opt/proxysql && make debug_clickhouse WITHGCOV=1'" docker-compose.yml
sed -i "/command/c \ command: bash -l -c 'cd /opt/proxysql && make -j$(nproc) debug_clickhouse WITHGCOV=1'" docker-compose.yml
make ${{ matrix.dist }}-dbg
# build tap tests
sed -i "/command/c \ command: bash -l -c 'cd /opt/proxysql && make build_tap_test_debug WITHGCOV=1'" docker-compose.yml
sed -i "/command/c \ command: bash -l -c 'cd /opt/proxysql && make -j$(nproc) build_tap_test_debug WITHGCOV=1'" docker-compose.yml
make ${{ matrix.dist }}-dbg | tee ../build.log
elif [[ "${{ matrix.type }}" =~ "-test" ]]; then
TYPE=${{ matrix.type }}
# build TYPE
sed -i "/command/c \ command: bash -l -c 'cd /opt/proxysql && make ${TYPE#-}'" docker-compose.yml
sed -i "/command/c \ command: bash -l -c 'cd /opt/proxysql && make -j$(nproc) ${TYPE#-}'" docker-compose.yml
make ${{ matrix.dist }} | tee ../build.log
else
make ${{ matrix.dist }}${{ matrix.type }} | tee ../build.log
make -j$(nproc) ${{ matrix.dist }}${{ matrix.type }} | tee ../build.log
fi
- name: Check build

Loading…
Cancel
Save