Add BitProModal component (#9503) #7751
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: bit platform CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- 'src/**' | |
jobs: | |
build-release: | |
if: startsWith(github.event.pull_request.title, 'Prerelease') || startsWith(github.event.pull_request.title, 'Release') || startsWith(github.event.pull_request.title, 'Version') | |
name: build and test for release | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: src/global.json | |
- name: Setup .NET 8 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
8.0.x | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install wasm and maui | |
run: cd src && dotnet workload install maui-android wasm-tools wasm-tools-net8 | |
- name: Run BeforeBuildTasks | |
continue-on-error: true # Error MSB4057, not all csproj files have BeforeBuildTasks target. | |
run: dotnet build src/Bit-CI-release.sln -t:BeforeBuildTasks -m:1 -f net9.0 | |
- name: MSBuild prerelease | |
run: dotnet build src/Bit-CI-release.sln | |
- name: Test | |
run: dotnet test --no-build --verbosity normal src/BlazorUI/Bit.BlazorUI.Tests/Bit.BlazorUI.Tests.csproj | |
build: | |
if: startsWith(github.event.pull_request.title, 'Prerelease') != true && startsWith(github.event.pull_request.title, 'Release') != true && startsWith(github.event.pull_request.title, 'Version') != true | |
name: build and test | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: src/global.json | |
- name: Setup .NET 8 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
8.0.x | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install wasm and maui | |
run: cd src && dotnet workload install maui-android wasm-tools wasm-tools-net8 | |
- name: Install Android Sdk platform tools | |
run: ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools" | |
- name: Run BeforeBuildTasks | |
continue-on-error: true # Error MSB4057, not all csproj files have BeforeBuildTasks target. | |
run: dotnet build src/Bit-CI.sln -t:BeforeBuildTasks -m:1 -f net9.0 | |
- name: Build | |
run: dotnet build src/Bit-CI.sln -p:WarningLevel=0 -p:RunCodeAnalysis=false | |
- name: Test | |
run: dotnet test --no-build --verbosity normal src/BlazorUI/Bit.BlazorUI.Tests/Bit.BlazorUI.Tests.csproj |