diff --git a/.github/workflows/build-windos-test.yml b/.github/workflows/build-windos-test.yml new file mode 100644 index 00000000000000..5ae0e620e62788 --- /dev/null +++ b/.github/workflows/build-windos-test.yml @@ -0,0 +1,42 @@ +name: Build Windows runtime (test) +on: + pull_request: + workflow_dispatch: + inputs: + tag: + type: string + description: Tagged version to build + required: false + commit: + type: string + required: false + description: SHA of the commit to build (no release will be produced) + push: + tags: + - 'v*-*' + +jobs: + build-windows: + runs-on: windows-latest + steps: + - name: Check out runtime source code + uses: actions/checkout@v4 + - name: Build CLR for Windows + run: .\build.cmd -c Release /p:VersionSuffix=criteo1 /p:StabilizePackageVersion=false /p:OfficialBuildId=20201010.1 /p:NativeOptimizationDataSupported=false /p:IncludeSymbols=true /p:SkipArchivesBuild=false + - name: List tests generated directory + run: dir -Recurse artifacts\tests\coreclr + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: windows-runtime + path: artifacts/packages/Release/Shipping/ + - name: Upload Non shipping artifacts + uses: actions/upload-artifact@v4 + with: + name: windows-runtime-nonshipping + path: artifacts/packages/Release/NonShipping/ + - name: Upload tests artifacts + uses: actions/upload-artifact@v4 + with: + name: windows-runtime-tests + path: artifacts/tests/coreclr/