File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 6
6
# - ubu: ubuntu
7
7
# - ems: Emscripten
8
8
version : 2.1
9
+
10
+
9
11
parameters :
10
12
ubuntu-2004-docker-image :
11
13
type : string
@@ -35,9 +37,17 @@ parameters:
35
37
evm-version :
36
38
type : string
37
39
default : prague
40
+ # Path filtering parameters
41
+ run-main-workflow :
42
+ type : boolean
43
+ default : true
44
+ run-docs-workflow :
45
+ type : boolean
46
+ default : false
38
47
39
48
orbs :
40
49
50
+ path-filtering :
circleci/[email protected]
41
51
42
52
commands :
43
53
matrix_notify_unless_pr :
@@ -1872,7 +1882,23 @@ jobs:
1872
1882
workflows :
1873
1883
version : 2
1874
1884
1885
+ setup :
1886
+ jobs :
1887
+ - path-filtering/filter :
1888
+ name : filter-docs
1889
+ mapping : |
1890
+ docs/.* run-docs-workflow true run-main-workflow false
1891
+ # FIXME: << pipeline.git.base_revision >> seems to be empty sometimes so for now we are using the develop branch as base
1892
+ base-revision : develop
1893
+ config-path : .circleci/config.yml
1894
+
1895
+ docs :
1896
+ when : << pipeline.parameters.run-docs-workflow >>
1897
+ jobs :
1898
+ - b_docs : *requires_nothing
1899
+
1875
1900
main :
1901
+ when : << pipeline.parameters.run-main-workflow >>
1876
1902
jobs :
1877
1903
# basic checks
1878
1904
- chk_spelling : *requires_nothing
@@ -1887,8 +1913,6 @@ workflows:
1887
1913
- t_ubu_pyscripts : *requires_nothing
1888
1914
- t_win_pyscripts : *requires_nothing
1889
1915
1890
- # build-only
1891
- - b_docs : *requires_nothing
1892
1916
- b_ubu_ossfuzz : *requires_nothing
1893
1917
- b_ubu_2204 : *requires_nothing
1894
1918
- b_ubu_2204_clang : *requires_nothing
You can’t perform that action at this time.
0 commit comments