Skip to content

Commit

Permalink
Merge branch 'main' into compound_condition_variables
Browse files Browse the repository at this point in the history
  • Loading branch information
SouthEndMusic committed Apr 16, 2024
2 parents 75b56a0 + 391129a commit bf117d1
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 56 deletions.
65 changes: 65 additions & 0 deletions .teamcity/Ribasim_Linux/buildTypes/Ribasim_Linux_Build.xml
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 =&gt; 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=". =&gt; 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>

Original file line number Diff line number Diff line change
Expand Up @@ -2,64 +2,13 @@
<build-type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" uuid="cf391998-fed9-4a22-ae44-8877d1028c10" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd">
<name>Build libribasim</name>
<description />
<settings>
<options>
<option name="artifactRules" value="ribasim\build\libribasim =&gt; libribasim.zip" />
<option name="cleanBuild" value="true" />
<option name="executionTimeoutMin" value="120" />
<option name="publishArtifactCondition" value="SUCCESSFUL" />
</options>
<settings ref="Ribasim_Linux_Build">
<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=". =&gt; ribasim" />
</vcs-entry-ref>
</vcs-settings>
<requirements>
<does-not-equal id="RQ_275" name="env.OS" value="Windows_NT" />
</requirements>
<build-runners />
<vcs-settings />
<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>
</build-type>

0 comments on commit bf117d1

Please sign in to comment.