version: 1 accept_configuration: condition: and conditions: - condition: property property: host.compiler equals_value: Yocto - condition: property property: target.arch in_values: [TARGET1, TARGET2, TARGET3, TARGET4, TARGET5] machine_type: Build: cores: 16 environment: &environment type: Group instructions: - type: EnvironmentVariable variableName: MACHINE variableValue: imx8qm-mek enable_if: condition: property property: target.arch equals_value: TARGET1 - type: EnvironmentVariable variableName: MACHINE variableValue: imx93-11x11-lpddr4x-evk enable_if: condition: property property: target.arch equals_value: TARGET2 - type: EnvironmentVariable variableName: MACHINE variableValue: jetson-agx-xavier-devkit enable_if: condition: property property: target.arch equals_value: TARGET3 - type: EnvironmentVariable variableName: MACHINE variableValue: raspberrypi4-64 enable_if: condition: property property: target.arch equals_value: TARGET4 - type: EnvironmentVariable variableName: MACHINE variableValue: intel-skylake-64 enable_if: condition: property property: target.arch equals_value: TARGET5 build_instructions: - *environment - type: SetBuildDirectory directory: "{{.AgentWorkingDir}}/build" - type: MakeDirectory directory: "{{.BuildDir}}" - type: ChangeDirectory directory: "{{.BuildDir}}" - type: EnvironmentVariable variableName: DL_DIR variableValue: "/mnt/yocto-cache/downloads" - type: EnvironmentVariable variableName: SOURCE_DIR variableValue: "{{.SourceDir}}" - type: WriteFile fileContents: | #!/bin/bash -xe cat >> /home/qt/.ssh/config <> conf/local.conf bitbake meta-b2qt-embedded-qbsp SDKMACHINE=x86_64-mingw32 bitbake meta-b2qt-embedded-qbsp sudo umount /mnt/yocto-cache filename: "{{.BuildDir}}/start-build" fileMode: 420 - type: ExecuteCommand command: ["chmod", "+x", "{{.BuildDir}}/start-build"] userMessageOnFailure: "Could not add execution right to the start-build." - type: ExecuteCommand command: ["{{.BuildDir}}/start-build"] maxTimeInSeconds: 43200 maxTimeBetweenOutput: 7200 userMessageOnFailure: "Build failed." test_instructions: []