Wint4 #13
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: CI | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| branches: [develop, release/**] | |
| permissions: read-all | |
| concurrency: | |
| group: ${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| env: | |
| PR_ID: ${{ github.event.pull_request.number }} | |
| COMMIT_ID: ${{ github.event.pull_request.head.sha }} | |
| jobs: | |
| clone: | |
| name: Clone-linux | |
| uses: ./.github/workflows/_Clone-linux.yml | |
| build-docker: | |
| name: build docker images | |
| needs: clone | |
| uses: ./.github/workflows/docker.yml | |
| sot: | |
| name: PR-CI-SOT | |
| uses: ./.github/workflows/_SOT.yml | |
| needs: build-docker | |
| with: | |
| docker_cpu_image: ${{ needs.build-docker.outputs.docker_cpu_image }} | |
| mac: | |
| name: Mac-CPU | |
| uses: ./.github/workflows/_Mac.yml | |
| needs: clone | |
| xpu: | |
| name: Linux-XPU | |
| uses: ./.github/workflows/_Linux-XPU.yml | |
| needs: clone | |
| inference: | |
| name: PR-CI-Inference | |
| uses: ./.github/workflows/_Inference.yml | |
| needs: build-docker | |
| with: | |
| docker_inference_image: ${{ needs.build-docker.outputs.docker_inference_image }} | |
| cpu: | |
| name: Linux-CPU | |
| uses: ./.github/workflows/_Linux-CPU.yml | |
| needs: build-docker | |
| with: | |
| docker_cpu_image: ${{ needs.build-docker.outputs.docker_cpu_image }} | |
| npu: | |
| name: Linux-NPU | |
| uses: ./.github/workflows/_Linux-NPU.yml | |
| needs: cpu | |
| distribute: | |
| name: Distribute-stable | |
| uses: ./.github/workflows/_Distribute-stable.yml | |
| needs: build-docker | |
| with: | |
| docker_distribute_image: ${{ needs.build-docker.outputs.docker_distribute_image }} | |
| build: | |
| name: Linux-build | |
| uses: ./.github/workflows/_Linux-build.yml | |
| needs: build-docker | |
| with: | |
| docker_build_image: ${{ needs.build-docker.outputs.docker_build_image }} | |
| static-check: | |
| name: Static-Check | |
| uses: ./.github/workflows/_Static-Check.yml | |
| needs: [build-docker, build] | |
| with: | |
| can-skip: ${{ needs.build.outputs.can-skip }} | |
| docker_build_image: ${{ needs.build-docker.outputs.docker_build_image }} | |
| ce-framework: | |
| name: CE-Framework | |
| uses: ./.github/workflows/_CE-Framework.yml | |
| needs: [build-docker, build] | |
| with: | |
| can-skip: ${{ needs.build.outputs.can-skip }} | |
| docker_build_image: ${{ needs.build-docker.outputs.docker_build_image }} | |
| ce-cinn-framework: | |
| name: CE-CINN-Framework | |
| uses: ./.github/workflows/_CE-CINN-Framework.yml | |
| needs: [build-docker, build] | |
| with: | |
| can-skip: ${{ needs.build.outputs.can-skip }} | |
| docker_build_image: ${{ needs.build-docker.outputs.docker_build_image }} | |
| api-benchmark: | |
| name: Api-Benchmark | |
| uses: ./.github/workflows/_Api-Benchmark.yml | |
| needs: [build-docker, build] | |
| with: | |
| can-skip: ${{ needs.build.outputs.can-skip }} | |
| docker_build_image: ${{ needs.build-docker.outputs.docker_build_image }} | |
| slice: | |
| name: Slice | |
| uses: ./.github/workflows/_Slice.yml | |
| needs: [build-docker, build] | |
| with: | |
| can-skip: ${{ needs.build.outputs.can-skip }} | |
| docker_build_image: ${{ needs.build-docker.outputs.docker_build_image }} |