|
1 | | -name: Manual |
2 | | - |
3 | 1 | # the workflow_call block was added to this manual workflow (on workflow_dispatch:) because |
4 | 2 | # it has to be included if a reuseable workflow is called. |
5 | 3 | # The changes from the workflow_dispatch inputs to the workflow_call inputs are: |
6 | 4 | # - "type: choice" is replaced with "type: string" |
7 | 5 | # - all "options:" are removed |
8 | 6 | # The variable/tag for the runner (var.RUNNER) is defined on the "Actions secrets and variables" page, tab "Variables": |
9 | 7 | # https://github.com/openfheorg/openfhe-development/settings/variables/actions |
| 8 | +name: Manual |
| 9 | + |
| 10 | +permissions: |
| 11 | + contents: read |
| 12 | + |
10 | 13 | on: |
11 | 14 | workflow_call: |
12 | 15 | inputs: |
13 | 16 | compiler: |
14 | 17 | description: 'Compiler type' |
15 | 18 | type: string |
16 | 19 | required: true |
17 | | - default: 'GLANG-18' |
| 20 | + default: 'CLANG-18' |
18 | 21 | native_backend: |
19 | 22 | description: 'Size of NativeInteger' |
20 | 23 | type: string |
21 | 24 | required: true |
22 | 25 | default: '64' |
23 | 26 | openfhe_development_branch: |
24 | | - description: 'openfhe-development branch' |
| 27 | + description: 'openfhe-development branch/tag' |
25 | 28 | type: string |
26 | 29 | required: true |
27 | 30 | default: 'main' |
|
37 | 40 | - 'GCC-14' |
38 | 41 | - 'CLANG-18' |
39 | 42 | required: true |
40 | | - default: 'GLANG-18' |
| 43 | + default: 'CLANG-18' |
41 | 44 | native_backend: |
42 | 45 | description: 'Size of NativeInteger' |
43 | 46 | type: choice |
|
49 | 52 | required: true |
50 | 53 | default: '64' |
51 | 54 | openfhe_development_branch: |
52 | | - description: 'openfhe-development branch' |
| 55 | + description: 'openfhe-development branch/tag' |
53 | 56 | type: string |
54 | 57 | required: true |
55 | 58 | default: 'main' |
56 | 59 |
|
57 | | -# cmake_args_map_openfhe_lib holds job specific additional cmake options. As we are testing openfhe-python here |
58 | | -# and not openfhe-development, we do not link unittest, benchmarks, etc. for openfhe-development. |
59 | | -# compiler flags, native_backend flag and OpenMP flag are set in generic_workflow.yml |
| 60 | +# As we are testing openfhe_python here, and not openfhe-development, we do not need |
| 61 | +# additional cmake options besides the compiler |
60 | 62 | jobs: |
61 | 63 | call: |
62 | 64 | uses: openfheorg/openfhe-python/.github/workflows/generic_workflow.yml@github-ci |
|
65 | 67 | compiler: "${{ inputs.compiler }}" |
66 | 68 | native_backend: "${{ inputs.native_backend }}" |
67 | 69 | openfhe_development_branch: "${{ inputs.openfhe_development_branch }}" |
68 | | - cmake_args_map_openfhe_lib: '{ |
69 | | - "default" : "-DBUILD_BENCHMARKS=OFF -DBUILD_UNITTESTS=OFF -DBUILD_EXAMPLES=OFF", |
70 | | - }' |
71 | 70 |
|
72 | 71 |
|
0 commit comments