attempting to just run the pwsh script with just hardcoded command.

This commit is contained in:
Edward R. Gonzalez 2023-03-30 18:31:41 -04:00
parent e867768862
commit be6b37ae00

View File

@ -36,18 +36,18 @@ jobs:
- name: Run PowerShell build script - name: Run PowerShell build script
shell: pwsh shell: pwsh
env: env:
CC: clang # CC: clang
CXX: clang++ # CXX: clang++
BUILD_TYPE: ${{ github.event.inputs.type }} # BUILD_TYPE: ${{ github.event.inputs.type }}
RUN_TESTS: ${{ github.event.inputs.test }} # RUN_TESTS: ${{ github.event.inputs.test }}
run: | run: |
$ErrorActionPreference = "Stop" # $ErrorActionPreference = "Stop"
$type = $env:BUILD_TYPE # $type = $env:BUILD_TYPE
$test = $env:RUN_TESTS # $test = $env:RUN_TESTS
$args = @() # $args = @()
if (-not [string]::IsNullOrEmpty($type)) { $args += $type } # if (-not [string]::IsNullOrEmpty($type)) { $args += $type }
if (-not [string]::IsNullOrEmpty($test)) { $args += $test } # if (-not [string]::IsNullOrEmpty($test)) { $args += $test }
& .\scripts\build.ps1 @args & .\scripts\build.ps1 debug test