Skip to content

DYN-7080 Updating Description IronPython3 #35

DYN-7080 Updating Description IronPython3

DYN-7080 Updating Description IronPython3 #35

Workflow file for this run

# Build DSIronPython3 package using msbuild
name: DSIronPython3-VS2022Build
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: windows-2022
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
path: DSIronPython3
ref: ${{ github.ref }}
- name: Setup nuget
uses: nuget/[email protected]
- name: Setup msbuild
uses: microsoft/[email protected]
- name: Nuget Restore DSIronPython3 solution
if: ${{ true }}
run: nuget restore ${{ github.workspace }}\DSIronPython3\IronPython3Extension.sln
- name: Build DSIronPython3 with MSBuild
if: ${{ true }}
run: |
Write-Output "***Continue with the build, Good luck developer!***"
msbuild ${{ github.workspace }}\DSIronPython3\IronPython3Extension.sln -p:Configuration=Release
- name: Look for package
if: ${{ true }}
run: |
Write-Output "***Locating iron python package!***"
if (Test-Path -Path "${{ github.workspace }}\DSIronPython3\package_output\DSIronPython3\extra\python3eval.dll") {
Write-Output "python node dll exists!"
} else {
Write-Error "python node dll was not found!"
}
- name: Run test with the dotnet CLI
run: |
dotnet test ${{ github.workspace }}\DSIronPython3 -p:Configuration=Release --filter "TestCategory!=Failure" --logger "trx;LogFileName=results.trx" --results-directory ${{ github.workspace }}\DSIronPython3\TestResults
- name: Upload build artifact
uses: actions/[email protected]
with:
name: DSIronPython3
path: ${{ github.workspace }}\DSIronPython3\package_output
retention-days: 7
- name: Upload test artifact
uses: actions/[email protected]
with:
name: TestResults
path: ${{ github.workspace }}\DSIronPython3\TestResults
retention-days: 1