aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
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