diff options
| author | Egor Tensin <egor@tensin.name> | 2025-12-29 22:32:57 +0100 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2025-12-29 22:35:29 +0100 |
| commit | 03f3e841176d3b1f94fd9434943b16441493dbc1 (patch) | |
| tree | 3fc48694a9cf0fa4ecae8d872dfed916b794a00a /.github/actions/run-example-boost | |
| parent | workflows/example_toolsets: upgrade actions (diff) | |
| download | cmake-common-03f3e841176d3b1f94fd9434943b16441493dbc1.tar.gz cmake-common-03f3e841176d3b1f94fd9434943b16441493dbc1.zip | |
drop Cygwin, it's obsolete
Diffstat (limited to '.github/actions/run-example-boost')
| -rw-r--r-- | .github/actions/run-example-boost/action.yml | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/.github/actions/run-example-boost/action.yml b/.github/actions/run-example-boost/action.yml index 0dd9f44..0fd05ed 100644 --- a/.github/actions/run-example-boost/action.yml +++ b/.github/actions/run-example-boost/action.yml @@ -19,23 +19,14 @@ runs: $absolute_test = Join-Path (Get-Location).Path 'test.txt' $exe_path = (Join-Path $path 'bin' 'foo') - if (-not $env:CI_TARGET_CYGWIN) { - $exe_path += $env:CI_EXE_EXT - } - - $argv0 = $exe_path - if ($env:CI_TARGET_CYGWIN) { - # Apparently, Cygwin programs convert argv[0] when executing native - # programs or being executed by them. - $argv0 = cygpath.exe -ua $argv0 - } + $exe_path += $env:CI_EXE_EXT $actual = & $exe_path $relative_test echo 'Actual output:' echo $actual - $expected = $argv0,$absolute_test + $expected = $exe_path,$absolute_test echo 'Expected output:' echo $expected |
