-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into compound_condition_variables
- Loading branch information
Showing
2 changed files
with
70 additions
and
56 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
.teamcity/Ribasim_Linux/buildTypes/Ribasim_Linux_Build.xml
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,65 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<template xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" uuid="ba056ffa-f17b-4684-add1-3fcaee0c2a81" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd"> | ||
<name>Build</name> | ||
<settings> | ||
<options> | ||
<option name="artifactRules" value="ribasim\build\libribasim => libribasim.zip" /> | ||
<option name="cleanBuild" value="true" /> | ||
<option name="executionTimeoutMin" value="120" /> | ||
<option name="publishArtifactCondition" value="SUCCESSFUL" /> | ||
</options> | ||
<parameters /> | ||
<build-runners> | ||
<runner id="RUNNER_2415" name="Set up pixi" type="simpleRunner"> | ||
<parameters> | ||
<param name="script.content"><![CDATA[#!/bin/bash | ||
# black magic | ||
source /usr/share/Modules/init/bash | ||
module load pixi | ||
pixi --version | ||
pixi run --environment=dev install-ci]]></param> | ||
<param name="teamcity.build.workingDir" value="ribasim" /> | ||
<param name="teamcity.step.mode" value="default" /> | ||
<param name="use.custom.script" value="true" /> | ||
</parameters> | ||
</runner> | ||
<runner id="RUNNER_2416" name="Build binary" type="simpleRunner"> | ||
<parameters> | ||
<param name="script.content"><![CDATA[#!/bin/bash | ||
# black magic | ||
source /usr/share/Modules/init/bash | ||
module load pixi | ||
module load gcc/11.3.0 | ||
pixi run remove-artifacts | ||
pixi run build-libribasim]]></param> | ||
<param name="teamcity.build.workingDir" value="ribasim" /> | ||
<param name="teamcity.step.mode" value="default" /> | ||
<param name="use.custom.script" value="true" /> | ||
</parameters> | ||
</runner> | ||
</build-runners> | ||
<vcs-settings> | ||
<vcs-entry-ref root-id="Ribasim_Ribasim"> | ||
<checkout-rule rule=". => ribasim" /> | ||
</vcs-entry-ref> | ||
</vcs-settings> | ||
<requirements> | ||
<equals id="RQ_275" name="teamcity.agent.jvm.os.name" value="Linux" /> | ||
</requirements> | ||
<build-triggers /> | ||
<build-extensions> | ||
<extension id="BUILD_EXT_295" type="commit-status-publisher"> | ||
<parameters> | ||
<param name="github_authentication_type" value="token" /> | ||
<param name="github_host" value="https://api.github.com" /> | ||
<param name="publisherId" value="githubStatusPublisher" /> | ||
<param name="secure:github_access_token" value="credentialsJSON:6b37af71-1f2f-4611-8856-db07965445c0" /> | ||
</parameters> | ||
</extension> | ||
</build-extensions> | ||
<cleanup /> | ||
</settings> | ||
</template> | ||
|
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