summaryrefslogtreecommitdiff
path: root/.configurations/jenkins.dsc.yaml
blob: e1576eae552a726b97830a04a6b6a27780cf8d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2

# This configuration is for a minimal installation of Visual Studio meant for CI use or setups with
# remote access with no need for convenience features of the IDE. It installs the dependencies
# without additional recommended packages. If you want to use the IDE to edit code, you probably
# want to use the regular configuration.dsc.yaml (or launch Visual Studio Installer afterwards, pick
# modify and then unselect and reselect the "Desktop Development with C++" workload)
# (the allowPrerelease directive refers to the DSC module)

properties:
  resources:
    - resource: Microsoft.WinGet.DSC/WinGetPackage
      id: VisualStudio
      directives:
        description: Install Visual Studio 2022 Community
        allowPrerelease: true
      settings:
        id: Microsoft.VisualStudio.2022.Community
        source: winget
    - resource: Microsoft.VisualStudio.DSC/VSComponents
      id: minimal LibreOffice Components 
      dependsOn:
        - VisualStudio
      directives:
        description: Install components required to build LibreOffice
      settings:
        productId: Microsoft.VisualStudio.Product.Community
        channelId: VisualStudio.17.Release
        vsConfigFile: '${WinGetConfigRoot}\2022_cross.vsconfig'
  configurationVersion: 0.2.0