Skip to content

[BUILD] [DOC] [BACKEND] fix xpu download link and build support (#2) #8

[BUILD] [DOC] [BACKEND] fix xpu download link and build support (#2)

[BUILD] [DOC] [BACKEND] fix xpu download link and build support (#2) #8

name: Cambricon-Build-And-Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
cambricon-build-and-test:
runs-on: cambricon
if: ${{ github.repository == 'FlagTree/flagtree' }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: FlagTree Build on Cambricon
shell: bash
run: |
export FLAGTREE_BACKEND=cambricon
source ~/env.sh
cd python
MAX_JOBS=8 pip3 install . --no-build-isolation