Skip to content

Commit

Permalink
chore: Update windows CI pipeline for self-host
Browse files Browse the repository at this point in the history
  • Loading branch information
HaiyiMei committed Aug 5, 2024
1 parent 9bc7b76 commit 3fbcc73
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .circleci/Start-CircleCIRunner.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$installDirPath = "$env:ProgramFiles\CircleCI"
$agentFile = "circleci-runner.exe"
$cmd = "`"$installDirPath\$agentFile`" machine --config `"$installDirPath\runner-agent-config.yaml`""

echo "Constantly running command: $cmd"
while ($true) {
Invoke-Expression $cmd
Start-Sleep 1
}
7 changes: 6 additions & 1 deletion .circleci/continue_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,15 @@ jobs:
- when:
condition: << pipeline.parameters.build-unreal-plugin >> || << pipeline.parameters.run-unreal-test >>
steps:
- checkout
# - checkout
- run:
name: Clone GitHub repository
command: |
git clone << pipeline.git_url >> --branch << pipeline.git_tag >> $env:USERPROFILE\project
- run:
name: "Build Plugins & Run Tests"
shell: powershell.exe
working_directory: $env:USERPROFILE\project
no_output_timeout: 60m
environment:
BUILD_UNREAL_PLUGIN: << pipeline.parameters.build-unreal-plugin >>
Expand Down

0 comments on commit 3fbcc73

Please sign in to comment.