mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 03:25:05 -05:00
chore(CI): run compiler tests on backends c-api change
This commit is contained in:
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@@ -18,7 +18,9 @@ jobs:
|
||||
compiler: ${{ steps.compiler.outputs.any_changed }}
|
||||
optimizer: ${{ steps.optimizer.outputs.any_changed }}
|
||||
concrete-cpu: ${{ steps.concrete-cpu.outputs.any_changed }}
|
||||
concrete-cpu-api: ${{ steps.concrete-cpu-api.outputs.any_changed }}
|
||||
concrete-cuda: ${{ steps.concrete-cuda.outputs.any_changed }}
|
||||
concrete-cuda-api: ${{ steps.concrete-cuda-api.outputs.any_changed }}
|
||||
concrete-python: ${{ steps.concrete-python.outputs.any_changed }}
|
||||
concrete-compiler-cpu-workflow: ${{ steps.concrete-compiler-cpu-workflow.outputs.any_changed }}
|
||||
concrete-compiler-gpu-workflow: ${{ steps.concrete-compiler-gpu-workflow.outputs.any_changed }}
|
||||
@@ -121,6 +123,18 @@ jobs:
|
||||
with:
|
||||
files: ./.github/workflows/optimizer.yml
|
||||
|
||||
- name: Get changed files in the concrete-cpu directory
|
||||
id: concrete-cpu-api
|
||||
uses: tj-actions/changed-files@7a453ffa2eb31a7e84f3281f88ef6d774c4d807d
|
||||
with:
|
||||
files: backends/concrete-cpu/implementation/include/
|
||||
|
||||
- name: Get changed files in the concrete-cuda directory
|
||||
id: concrete-cuda-api
|
||||
uses: tj-actions/changed-files@7a453ffa2eb31a7e84f3281f88ef6d774c4d807d
|
||||
with:
|
||||
files: backends/concrete-cuda/implementation/include/
|
||||
|
||||
- name: Set some github event outputs
|
||||
id: github
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
@@ -135,7 +149,7 @@ jobs:
|
||||
|
||||
compiler-cpu-build:
|
||||
needs: file-change
|
||||
if: needs.file-change.outputs.compiler == 'true' || needs.file-change.outputs.concrete-compiler-cpu-workflow == 'true' || needs.file-change.outputs.push-main == 'true'
|
||||
if: needs.file-change.outputs.compiler == 'true' || needs.file-change.outputs.concrete-cpu-api == 'true'|| needs.file-change.outputs.concrete-compiler-cpu-workflow == 'true' || needs.file-change.outputs.push-main == 'true'
|
||||
uses: ./.github/workflows/start_slab.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
@@ -143,7 +157,7 @@ jobs:
|
||||
|
||||
compiler-gpu-build:
|
||||
needs: file-change
|
||||
if: needs.file-change.outputs.compiler == 'true' || needs.file-change.outputs.concrete-compiler-gpu-workflow == 'true' || needs.file-change.outputs.push-main == 'true'
|
||||
if: needs.file-change.outputs.compiler == 'true' || needs.file-change.outputs.concrete-cuda-api == 'true' || needs.file-change.outputs.concrete-compiler-gpu-workflow == 'true' || needs.file-change.outputs.push-main == 'true'
|
||||
uses: ./.github/workflows/start_slab.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user