diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-01 11:09:14 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-01 11:09:14 +0300 |
commit | 9b71c16666884bcdea7b77b209ca138cd327d14e (patch) | |
tree | 9f651201c37634f19f24cccb0da3cdbf6901b904 /.github | |
parent | initial commit (diff) | |
download | setup-clang-9b71c16666884bcdea7b77b209ca138cd327d14e.tar.gz setup-clang-9b71c16666884bcdea7b77b209ca138cd327d14e.zip |
workflows/test.yml: split building and running foo.exe
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/test.yml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dc8e74f..6aa8c50 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,4 +75,17 @@ jobs: $flags += '-lpthread' } & '${{ steps.setup.outputs.clangxx }}' $flags - & (Join-Path . foo) + + - name: Run foo.exe + run: | + $expected = @" + Doing something #1 + Doing something #2 + Doing something #3 + "@ + $actual = & (Join-Path . foo) + $actual = $actual -join [Environment]::NewLine + $($actual -eq $expected) -or $(throw @" + Unexpected output: + $actual + "@) |