Skip to content

Commit

Permalink
fix(workflow):fix warning and add mtr test
Browse files Browse the repository at this point in the history
  • Loading branch information
zsp108 authored and mergify[bot] committed Oct 24, 2022
1 parent c96cb89 commit c91a29e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ jobs:
image: stoneatom/stonedb_buildenv:${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
run: sh -c "find . -name pkg_outdir -delete"
- name: package
run: |
find . -name pkg_outdir -delete
mkdir {build,pkg_outdir} && cd build
git config --global --add safe.directory /__w/stonedb/stonedb
cmake ../ \
Expand All @@ -59,7 +58,15 @@ jobs:
-DDOWNLOAD_ROCKSDB=0 \
-DWITH_ROCKSDB=/usr/local/stonedb-gcc-rocksdb && make -j`nproc` && make -j`nproc` install
tar -zcPvf ../pkg_outdir/stonedb57_nightly-`date +%y%m%d%H%M`.tar.gz /stonedb57
tar -zcPvf ../pkg_outdir/stonedb57_nightly-`date +%y%m%d%H%M`.tar.gz /stonedb57/
- name: mtr test
run: |
mkdir -p /stonedb57/install/log
groupadd mysql && useradd -g mysql mysql
chown -R mysql:mysql /stonedb57
cd /stonedb57/install/mysql-test
./mysql-test-run.pl --suite=tianmu --nowarnings --force --nocheck-testcases --retry=0
- name: output some vars
id: vars
Expand Down

0 comments on commit c91a29e

Please sign in to comment.