[MooncakeAdaptor] Init sglang_adaptor to support SGLang using transfe… #38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Build(linux)' | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build-ubuntu: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: configure | |
run: | | |
sudo apt update -y | |
sudo bash -x dependencies.sh | |
mkdir build | |
cd build | |
cmake .. -DUSE_HTTP=ON | |
shell: bash | |
- name: make | |
run: | | |
cd build | |
sudo make install -j | |
shell: bash | |
- name: start-metadata-server | |
run: | | |
cd mooncake-transfer-engine/example/http-metadata-server | |
export PATH=$PATH:/usr/local/go/bin | |
go mod tidy && go build -o http-metadata-server . | |
./http-metadata-server --addr=:8090 & | |
shell: bash | |
- name: start-mooncake-master | |
run: | | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib | |
mooncake_master & | |
shell: bash | |
- name: test | |
run: | | |
cd build | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib | |
ldconfig -v || echo "always continue" | |
MC_METADATA_SERVER=http://127.0.0.1:8090/metadata make test -j ARGS="-V" | |
shell: bash | |
- name: mooncake store python test | |
run: | | |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib | |
cd mooncake-store/tests | |
MC_METADATA_SERVER=http://127.0.0.1:8090/metadata python3 test_distributed_object_store.py | |
shell: bash | |
spell-check: | |
name: Spell Check with Typos | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Actions Repository | |
uses: actions/checkout@v4 | |
- name: Spell Check Repo | |
uses: crate-ci/[email protected] |