Skip to content

Commit 7dce6c4

Browse files
committed
chore: Update CircleCI configuration to include new parameters and orb version
- Upgraded `path-filtering` orb from version 1.0.0 to 1.2.0 for improved functionality. - Added `run-on-windows` parameter to both main and continue configuration files, allowing for conditional job execution based on the pipeline parameter.
1 parent 1eec5a4 commit 7dce6c4

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
version: 2.1
22
setup: true
33
orbs:
4-
path-filtering: circleci/path-filtering@1.0.0
4+
path-filtering: circleci/path-filtering@1.2.0
5+
6+
# Define parameters that will be available in all workflows
7+
parameters:
8+
run-on-windows:
9+
type: boolean
10+
default: false
511

612
workflows:
713
generate-config:

.circleci/continue_config.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,24 @@ parameters:
1313
run-blender-test:
1414
type: boolean
1515
default: false
16+
run-on-windows:
17+
type: boolean
18+
default: false
1619

1720
jobs:
1821
test-self-host:
1922
machine: true
2023
resource_class: openxrlab/xrfeitoria
2124
steps:
22-
- run:
23-
name: "Check Runner Info"
24-
shell: powershell.exe
25-
command: echo "Hi I'm on Runners!"
26-
timeout: 1m
27-
fail_on_error: false
28-
when: always
25+
- when:
26+
condition: << pipeline.parameters.run-on-windows >>
27+
steps:
28+
- run:
29+
name: "Check Runner Info"
30+
shell: powershell.exe
31+
command: echo "Hi I'm on Runners!"
32+
timeout: 1m
33+
fail_on_error: false
2934

3035
unreal-windows:
3136
machine: true

0 commit comments

Comments
 (0)