Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
419 changes: 257 additions & 162 deletions .ado/pipelines/azure-pipelines-build.yml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .ado/pipelines/azure-pipelines-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ extends:
sdl:
sourceAnalysisPool:
name: OneESPool
image: HostedPoolWindowsImage
os: windows
image: HostedPoolLinuxImage
os: linux
settings:
networkIsolationPolicy: Permissive
stages:
Expand Down
34 changes: 2 additions & 32 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build WebUI
description: Shared build steps for WebUI — installs protoc, Rust, Node.js, pnpm, and optionally .NET.
description: Shared build steps for WebUI — installs protoc, Rust, Node.js, pnpm, and optionally .NET. Linux runners only.

inputs:
shared-cache-key:
Expand All @@ -22,10 +22,6 @@ inputs:
description: Install .NET SDK (set to version like '8.0.x' to enable)
required: false
default: ''
protoc-version:
description: Protobuf compiler version to install
required: false
default: '29.5'
skip-build:
description: Skip cargo build and build-examples steps
required: false
Expand All @@ -34,36 +30,10 @@ inputs:
runs:
using: composite
steps:
- name: Disable Windows Defender on build dirs
if: runner.os == 'Windows'
shell: pwsh
run: |
Add-MpPreference -ExclusionPath "$env:GITHUB_WORKSPACE"
Add-MpPreference -ExclusionPath "$env:USERPROFILE\.cargo"

- name: Install protoc (Linux)
if: runner.os == 'Linux'
- name: Install protoc
shell: bash
run: sudo apt-get update -qq && sudo apt-get install -y -qq protobuf-compiler

- name: Install protoc (macOS)
if: runner.os == 'macOS'
shell: bash
run: brew install protobuf

- name: Install protoc (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
$version = "${{ inputs.protoc-version }}"
$url = "https://github.com/protocolbuffers/protobuf/releases/download/v$version/protoc-$version-win64.zip"
$zip = "$env:RUNNER_TEMP\protoc.zip"
$dest = "$env:RUNNER_TEMP\protoc"
Invoke-WebRequest -Uri $url -OutFile $zip
Expand-Archive -Path $zip -DestinationPath $dest -Force
echo "$dest\bin" | Out-File -FilePath $env:GITHUB_PATH -Append
echo "PROTOC=$dest\bin\protoc.exe" | Out-File -FilePath $env:GITHUB_ENV -Append

- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
Expand Down
Loading
Loading