code style
This commit is contained in:
parent
8759996de4
commit
691a2dc3b1
2 changed files with 8 additions and 5 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue