Skip to content

Merge prep-source-build into build script #5186

@am11

Description

@am11

Having a separate environment preparation step is not great UX from an end-user perspective. It feels like an internal detail that leaked into the workflow. The standard process requires running prep followed by build:
https://github.com/dotnet/dotnet/blob/3a4520155cd43fe9bf469961e91159822ba67405/README.md#building

If there are use cases where build -sb needs to run without prep, we could add a --skip-prep flag or similar to the build script.

Expected:

# clone VMR
./build.sh --clean-while-building -sb --os linux --arch riscv64 

Actual (https://github.com/filipnavara/dotnet-riscv/blob/3e4eb9b126c8bad193d556922be925eb539d0653/.github/workflows/build.yml#L35-L36):

# clone VMR
./prep-source-build.sh
./build.sh --clean-while-building -sb --os linux --arch riscv64 -p:DisableDevBuildAsDefaultForSourceOnly=true

cc @mthalman, @ViktorHofer, @tmds, @jkoritzinsky

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions