Base: codex-main originale (prima del fork aKode)
This commit is contained in:
20
.github/actions/setup-msvc-env/action.yml
vendored
Normal file
20
.github/actions/setup-msvc-env/action.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: setup-msvc-env
|
||||
description: Expose an MSVC developer environment for the requested Windows target.
|
||||
inputs:
|
||||
target:
|
||||
description: Rust target triple that will be built on this Windows runner.
|
||||
required: true
|
||||
host-arch:
|
||||
description: Optional Visual Studio host architecture override.
|
||||
required: false
|
||||
default: ""
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Expose MSVC SDK environment
|
||||
shell: pwsh
|
||||
env:
|
||||
HOST_ARCH: ${{ inputs.host-arch }}
|
||||
TARGET: ${{ inputs.target }}
|
||||
run: '& "$env:GITHUB_ACTION_PATH/setup-msvc-env.ps1" -Target "$env:TARGET" -HostArch "$env:HOST_ARCH"'
|
||||
Reference in New Issue
Block a user