Skip to content

Commit

Permalink
Cmake: Add cmake presets for CI Release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Dasperal committed Jun 14, 2024
1 parent 692a6c2 commit 621e119
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,21 @@
"dev": true,
"deprecated": true
}
},
{
"name": "ci-watcom-release",
"inherits": "ci-watcom",
"displayName": "Watcom (CI|Release)",
"description": "Watcom configuration for CI Release builds",
"warnings": {
"dev": false,
"deprecated": false,
"uninitialized": false
},
"errors": {
"dev": false,
"deprecated": false
}
}
],
"buildPresets": [
Expand All @@ -50,6 +65,30 @@
"lhs": "$penv{CI}",
"rhs": "true"
}
},
{
"name": "ci-watcom-release",
"configurePreset": "ci-watcom-release",
"displayName": "Watcom (CI|Release)",
"description": "Cmake build configuration for CI Release builds using Watcom",
"condition": {
"type": "equals",
"lhs": "$penv{CI}",
"rhs": "true"
}
}
],
"packagePresets": [
{
"name": "ci-watcom-release",
"configurePreset": "ci-watcom-release",
"displayName": "Watcom (CI|Release)",
"description": "Cpack configuration for CI Release builds using Watcom",
"condition": {
"type": "equals",
"lhs": "$penv{CI}",
"rhs": "true"
}
}
],
"workflowPresets": [
Expand All @@ -67,6 +106,25 @@
"name": "ci-watcom"
}
]
},
{
"name": "ci-watcom-release",
"displayName": "Watcom (CI|Release)",
"description": "Workflow for CI Release builds using Watcom",
"steps": [
{
"type": "configure",
"name": "ci-watcom-release"
},
{
"type": "build",
"name": "ci-watcom-release"
},
{
"type": "package",
"name": "ci-watcom-release"
}
]
}
]
}

0 comments on commit 621e119

Please sign in to comment.