feat: rename and delete some flags. #1
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: xLLM Build x86_64 MLU | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - '.github/**' | |
| - 'cibuild/**' | |
| - 'cmake/**' | |
| - 'docs/**' | |
| - 'third_party/**' | |
| - 'tools/**' | |
| - '*.md' | |
| - '*.txt' | |
| - '*.yml' | |
| pull_request: | |
| branches: [main] | |
| types: [opened, synchronize, reopened] | |
| paths-ignore: | |
| - '.github/**' | |
| - 'cibuild/**' | |
| - 'cmake/**' | |
| - 'docs/**' | |
| - 'third_party/**' | |
| - 'tools/**' | |
| - '*.md' | |
| - '*.txt' | |
| - '*.yml' | |
| env: | |
| JOBNAME: xllm-x86_64-mlu-cibuild-${{ github.run_id }} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
| jobs: | |
| build: | |
| if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event_name == 'pull_request' }} | |
| runs-on: [self-hosted] | |
| steps: | |
| - name: Checkout Code | |
| timeout-minutes: 5 | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Build | |
| if: ${{ success() }} | |
| timeout-minutes: 60 | |
| run: | | |
| chmod +x ./cibuild/build_mlu.sh | |
| bash cibuild/build_mlu.sh 'pip install pre-commit -i https://pypi.tuna.tsinghua.edu.cn/simple; VCPKG_ROOT=/export/home/mlu_vcpkg_src python setup.py build --device mlu' |