Skip to content

Apply changes to TC projects from carbon-template#3

Merged
filipppavlov merged 1 commit into
mainfrom
tc-build-fix
Jun 22, 2026
Merged

Apply changes to TC projects from carbon-template#3
filipppavlov merged 1 commit into
mainfrom
tc-build-fix

Conversation

@filipppavlov

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 22, 2026 14:41

@CCP-Gravy CCP-Gravy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All look correct to me!

@filipppavlov filipppavlov merged commit b2a0570 into main Jun 22, 2026
1 check passed
@filipppavlov filipppavlov deleted the tc-build-fix branch June 22, 2026 14:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the TeamCity Kotlin DSL for the Windows and macOS build configurations to align with the carbon-template settings, primarily around artifact publishing, Visual Studio environment bootstrapping, VCS triggering, and GitHub authentication parameters.

Changes:

  • Publish build outputs as a named artifact and adjust artifact rules.
  • Parameterize the Visual Studio dev environment bootstrap path on Windows.
  • Update VCS trigger behavior (Windows) and switch GitHub auth token parameter name.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.teamcity/Windows/Project.kt Updates artifact rules, Windows VS bootstrap command, VCS trigger branch filter, and GitHub token parameter.
.teamcity/MacOS/Project.kt Updates artifact rules and GitHub token parameter.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

this.name = buildName

artifactRules = "%env.CMAKE_INSTALL_PREFIX%"
artifactRules = "%env.CMAKE_INSTALL_PREFIX% => artifact.zip"
name = buildName

artifactRules = "%env.CMAKE_INSTALL_PREFIX%"
artifactRules = "%env.CMAKE_INSTALL_PREFIX% => artifact.zip"
Comment on lines 90 to 93
REM unfortunately ninja does not find the VS environment otherwise
REM NB: the exported PATH also contains the location where we installed sentry-cli, e.g. teamcity.agent.work.dir
call "%%ProgramFiles(x86)%%\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\vsdevcmd.bat" -arch=x64
call "%env.VSDEV_BAT_PATH%" -arch=x64
echo ##teamcity[setParameter name='env.INCLUDE' value='%%INCLUDE%%']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants