add start oceanbase action
This commit is contained in:
parent
316e56d882
commit
f00115364c
10
.github/workflows/compile.yml
vendored
10
.github/workflows/compile.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user