Molly/ci gnr server (#8667)
This commit is contained in:
10
.github/workflows/pr-test-xeon.yml
vendored
10
.github/workflows/pr-test-xeon.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
|||||||
build-test:
|
build-test:
|
||||||
if: (github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
|
if: (github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
|
||||||
github.event.pull_request.draft == false
|
github.event.pull_request.draft == false
|
||||||
runs-on: sglang-pvc
|
runs-on: sglang-gnr
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
build_type: ['all']
|
build_type: ['all']
|
||||||
@@ -72,6 +72,14 @@ jobs:
|
|||||||
docker exec -w /sglang-checkout/ ci_sglang_xeon \
|
docker exec -w /sglang-checkout/ ci_sglang_xeon \
|
||||||
bash -c "cd ./test/srt && python3 run_suite.py --suite per-commit-cpu"
|
bash -c "cd ./test/srt && python3 run_suite.py --suite per-commit-cpu"
|
||||||
|
|
||||||
|
- name: Change permission
|
||||||
|
timeout-minutes: 20
|
||||||
|
run: |
|
||||||
|
docker exec -u root ci_sglang_xeon bash -c "
|
||||||
|
rm -rf /tmp/ci-home &&
|
||||||
|
chown -R $(id -u):$(id -g) /sglang-checkout/ 2>/dev/null || true
|
||||||
|
"
|
||||||
|
|
||||||
- name: Cleanup container
|
- name: Cleanup container
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user