साइन इन करें
HI▾
भाषा
डाउनलोड
बीटा यह भाषा बीटा में है: इसका अनुवाद और जाँच AI ने की है, और अभी तक किसी मूल भाषी ने इसकी समीक्षा नहीं की है।

Example: build and test a .NET solution on a Windows runner

MT
MCDock Team MCDock टीम · MCDock · 6 दिन पहले

A starting point you can copy into .mcdock/pipeline.yml:

stages: [build, test]
jobs:
  build:
    stage: build
    runs-on: [windows]
    script:
      - dotnet build -c Release
    artifacts: [bin/Release/**]
  tests:
    stage: test
    runs-on: [windows]
    script:
      - dotnet test --logger "junit;LogFilePath=results.xml"
    junit: [**/results.xml]

Then add mcdock/pipeline as a required status check on main, so pull requests merge only with a green build. More in Daily use for DevOps.

▲ 0

साइन इन करें या मुफ़्त खाता बनाएँ जवाब देने के लिए।