aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 13:25:10 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 13:25:10 +0300
commit691a2dc3b1bc616cc0359fb11bdde1991e9dc4a4 (patch)
tree8186735fed366c026f7fc3a6979f1bafc5a3ebd5 /.github
parentsetup cc/c++ executables (diff)
downloadsetup-clang-691a2dc3b1bc616cc0359fb11bdde1991e9dc4a4.tar.gz
setup-clang-691a2dc3b1bc616cc0359fb11bdde1991e9dc4a4.zip
code style
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b367d81..7348cbe 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -63,11 +63,7 @@ jobs:
if ('${{ matrix.platform }}' -eq 'x86') {
$flags += '-m32'
}
- $flags += @(
- '-std=c++14',
- '-o', 'foo.exe',
- 'foo.cpp'
- )
+ $flags += '-std=c++14','-o','foo.exe','foo.cpp'
if ('${{ runner.os }}' -eq 'Linux') {
$flags += '-lpthread'
}
@@ -80,8 +76,10 @@ jobs:
Doing something #2
Doing something #3
"@
+
$actual = & (Join-Path . foo.exe)
$actual = $actual -join [Environment]::NewLine
+
$($actual -eq $expected) -or $(throw @"
Unexpected output:
$actual