add start oceanbase action

This commit is contained in:
wangyunlai 2023-07-13 10:11:15 +08:00 committed by GitHub
parent 316e56d882
commit f00115364c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ jobs:
- name: Install environment
shell: bash
run: sudo apt-get install -y git wget rpm rpm2cpio cpio make build-essential binutils m4
run: sudo apt-get install -y git wget rpm rpm2cpio cpio make build-essential binutils m4 libtool-bin language-pack-en
- name: Build project
shell: bash
@ -22,6 +22,14 @@ jobs:
bash build.sh init
bash build.sh debug
cd build_debug && make -j4
- name: Launch oceanbase
shell: bash
run: |
mkdir -p $HOME/deploy/
./tools/deploy/obd.sh prepare -p $HOME/deploy/
./tools/deploy/obd.sh deploy -c tools/deploy/single.yaml
echo "select version();" | ./tools/deploy/obd.sh sys -n single
centos-x86_64:
runs-on: ubuntu-20.04