Skip to content

Commit 26b720e

Browse files
258 refactor the workflow (#261)
* Changes to manual.yml * Temporary altered code for testing * Set the reference to the github-ci branch --------- Co-authored-by: Dmitriy Suponitskiy <dsuponitskiy@dualitytech.com>
1 parent b88d8fe commit 26b720e

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/manual.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
1-
name: Manual
2-
31
# the workflow_call block was added to this manual workflow (on workflow_dispatch:) because
42
# it has to be included if a reuseable workflow is called.
53
# The changes from the workflow_dispatch inputs to the workflow_call inputs are:
64
# - "type: choice" is replaced with "type: string"
75
# - all "options:" are removed
86
# The variable/tag for the runner (var.RUNNER) is defined on the "Actions secrets and variables" page, tab "Variables":
97
# https://github.com/openfheorg/openfhe-development/settings/variables/actions
8+
name: Manual
9+
10+
permissions:
11+
contents: read
12+
1013
on:
1114
workflow_call:
1215
inputs:
1316
compiler:
1417
description: 'Compiler type'
1518
type: string
1619
required: true
17-
default: 'GLANG-18'
20+
default: 'CLANG-18'
1821
native_backend:
1922
description: 'Size of NativeInteger'
2023
type: string
2124
required: true
2225
default: '64'
2326
openfhe_development_branch:
24-
description: 'openfhe-development branch'
27+
description: 'openfhe-development branch/tag'
2528
type: string
2629
required: true
2730
default: 'main'
@@ -37,7 +40,7 @@ on:
3740
- 'GCC-14'
3841
- 'CLANG-18'
3942
required: true
40-
default: 'GLANG-18'
43+
default: 'CLANG-18'
4144
native_backend:
4245
description: 'Size of NativeInteger'
4346
type: choice
@@ -49,14 +52,13 @@ on:
4952
required: true
5053
default: '64'
5154
openfhe_development_branch:
52-
description: 'openfhe-development branch'
55+
description: 'openfhe-development branch/tag'
5356
type: string
5457
required: true
5558
default: 'main'
5659

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
6062
jobs:
6163
call:
6264
uses: openfheorg/openfhe-python/.github/workflows/generic_workflow.yml@github-ci
@@ -65,8 +67,5 @@ jobs:
6567
compiler: "${{ inputs.compiler }}"
6668
native_backend: "${{ inputs.native_backend }}"
6769
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-
}'
7170

7271

0 commit comments

Comments
 (0)