aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 13:20:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 13:22:59 +0300
commit0f36cf818a31eaa7bd483a090ee04aac8e651b5d (patch)
treef7aa5a8a86c23cbd2af9654bdbd30867ea81989b /.github/workflows/test.yml
parentrefactoring (diff)
downloadsetup-gcc-0f36cf818a31eaa7bd483a090ee04aac8e651b5d.tar.gz
setup-gcc-0f36cf818a31eaa7bd483a090ee04aac8e651b5d.zip
code style
Diffstat (limited to '.github/workflows/test.yml')
-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 2dcc535..59e4d1f 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -62,11 +62,7 @@ jobs:
if ('${{ matrix.platform }}' -eq 'x86') {
$flags += '-m32'
}
- $flags += @(
- '-std=c++14',
- '-o', 'foo',
- 'foo.cpp'
- )
+ $flags += '-std=c++14','-o','foo','foo.cpp'
if ('${{ runner.os }}' -eq 'Linux') {
$flags += '-lpthread'
}
@@ -79,8 +75,10 @@ jobs:
Doing something #2
Doing something #3
"@
+
$actual = & (Join-Path . foo)
$actual = $actual -join [Environment]::NewLine
+
$($actual -eq $expected) -or $(throw @"
Unexpected output:
$actual