From ef0952fadae6794e225c0c1654887408bcadbf64 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 6 Jun 2026 18:04:17 +0200 Subject: foo.cpp -> test/threads.cpp --- .github/actions/run-foo/action.yml | 26 -------------------------- .github/actions/run-threads/action.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 .github/actions/run-foo/action.yml create mode 100644 .github/actions/run-threads/action.yml (limited to '.github/actions') diff --git a/.github/actions/run-foo/action.yml b/.github/actions/run-foo/action.yml deleted file mode 100644 index 3167545..0000000 --- a/.github/actions/run-foo/action.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Run foo.exe -description: Run foo.exe and verify its output -runs: - using: composite - steps: - - run: | - $expected = @" - Doing something #1 - Doing something #2 - Doing something #3 - "@ - - $actual = & (Join-Path . foo) - $actual = $actual -join [Environment]::NewLine - - echo @" - Expected output: - $expected - "@ - echo @" - Actual output: - $actual - "@ - - $($actual -eq $expected) -or $(throw "Unexpected output!") - shell: pwsh diff --git a/.github/actions/run-threads/action.yml b/.github/actions/run-threads/action.yml new file mode 100644 index 0000000..fd8e7ae --- /dev/null +++ b/.github/actions/run-threads/action.yml @@ -0,0 +1,26 @@ +name: Run threads.exe +description: Run threads.exe and verify its output +runs: + using: composite + steps: + - run: | + $expected = @" + Doing something #1 + Doing something #2 + Doing something #3 + "@ + + $actual = & (Join-Path . test threads) + $actual = $actual -join [Environment]::NewLine + + echo @" + Expected output: + $expected + "@ + echo @" + Actual output: + $actual + "@ + + $($actual -eq $expected) -or $(throw "Unexpected output!") + shell: pwsh -- cgit v1.3