github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/github/testdata/build-and-test/xamarin.yaml.golden (about)

     1  kind: pipeline
     2  spec:
     3    stages:
     4    - name: build
     5      spec:
     6        clone: {}
     7        platform:
     8          arch: amd64
     9          os: darwin
    10        runtime:
    11          spec: {}
    12          type: cloud
    13        steps:
    14        - name: Set default Xamarin SDK versions
    15          spec:
    16            run: |
    17              $VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --ios=14.10
    18          type: script
    19        - name: Set default Xcode 12.3
    20          spec:
    21            run: |
    22              XCODE_ROOT=/Applications/Xcode_12.3.0.app
    23              echo "MD_APPLE_SDK_ROOT=$XCODE_ROOT" >> $GITHUB_ENV
    24              sudo xcode-select -s $XCODE_ROOT
    25          type: script
    26        - name: Setup .NET Core SDK 5.0.x
    27          spec:
    28            uses: actions/setup-dotnet@v3
    29            with:
    30              dotnet-version: 5.0.x
    31          type: action
    32        - name: Install dependencies
    33          spec:
    34            run: nuget restore <sln_file_path>
    35          type: script
    36        - name: Build
    37          spec:
    38            run: msbuild <csproj_file_path> /p:Configuration=Debug /p:Platform=iPhoneSimulator
    39              /t:Rebuild
    40          type: script
    41      type: ci
    42  version: 1