-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from spatialos/preview
preview > release
- Loading branch information
Showing
42 changed files
with
598 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
agent_queue_id: trigger-pipelines | ||
description: Nightly build and deployment of Unreal Example project | ||
github: | ||
branch_configuration: [] | ||
default_branch: master | ||
pull_request_branch_filter_configuration: [] | ||
teams: | ||
- name: Everyone | ||
permission: BUILD_AND_READ | ||
- name: gbu/develop/unreal | ||
permission: MANAGE_BUILD_AND_READ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
script_runner: &script_runner | ||
agents: | ||
- "agent_count=8" | ||
- "capable_of_building=platform" | ||
- "environment=production" | ||
- "machine_type=quarter" | ||
- "permission_set=builder" | ||
- "platform=linux" | ||
- "queue=${CI_LINUX_BUILDER_QUEUE:-v3-1572524284-e64831bf1e88b227-------z}" | ||
- "scaler_version=2" | ||
- "working_hours_time_zone=london" | ||
|
||
common: &common | ||
agents: | ||
- "agent_count=1" | ||
- "capable_of_building=gdk-for-unreal" | ||
- "environment=production" | ||
- "machine_type=quad" | ||
- "permission_set=builder" | ||
- "platform=windows" | ||
- "scaler_version=2" | ||
- "queue=${CI_WINDOWS_BUILDER_QUEUE:-v4-2019-11-07-bk3700-fbffad576b9676d7}" # Has FASTbuild disabled | ||
timeout_in_minutes: 60 # TODO(ENG-548): reduce timeout once agent-cold-start is optimised. | ||
retry: | ||
automatic: | ||
# This is designed to trap and retry failures because agent lost connection. Agent exits with -1 in this case. | ||
- exit_status: -1 | ||
limit: 3 | ||
plugins: | ||
- ca-johnson/taskkill#v4.1: ~ | ||
|
||
# NOTE: step labels turn into commit-status names like {org}/{repo}/{pipeline}/{step-label}, lower-case and hyphenated. | ||
# These are then relied on to have stable names by other things, so once named, please beware renaming has consequences. | ||
|
||
steps: | ||
- label: "generate-pipeline-steps" | ||
commands: | ||
- "chmod -R +rwx ci" | ||
- "ci/generate-pipeline-steps.sh" | ||
env: | ||
ENGINE_VERSION: "${ENGINE_VERSION}" | ||
<<: *script_runner | ||
|
||
- wait | ||
|
||
- label: "slack-notify" | ||
if: build.env("SLACK_NOTIFY") == "true" || build.branch == "master" | ||
command: "powershell -NoProfile -NonInteractive -InputFormat Text -Command ./ci/slack-notify.ps1" | ||
<<: *common # This folds the YAML named anchor into this step. Overrides, if any, should follow, not precede. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 10 additions & 1 deletion
11
Game/Source/GDKShooter/Private/Game/Components/MatchTimerComponent.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved | ||
|
||
#include "MatchTimerComponent.h" | ||
#include "Misc/CommandLine.h" | ||
|
||
|
||
void UMatchTimerComponent::BeginPlay() | ||
{ | ||
#if !UE_BUILD_SHIPPING | ||
// Developer cheat so you can run an arbitrarily long match for testing. | ||
const TCHAR* CommandLine = FCommandLine::Get(); | ||
FParse::Value(CommandLine, TEXT("matchtime"), DefaultTimerDuration); | ||
#endif | ||
Super::BeginPlay(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.