summaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/actions/run-threads/action.yml (renamed from .github/actions/run-foo/action.yml)6
-rw-r--r--.github/workflows/test.yml16
2 files changed, 11 insertions, 11 deletions
diff --git a/.github/actions/run-foo/action.yml b/.github/actions/run-threads/action.yml
index 3167545..fd8e7ae 100644
--- a/.github/actions/run-foo/action.yml
+++ b/.github/actions/run-threads/action.yml
@@ -1,5 +1,5 @@
-name: Run foo.exe
-description: Run foo.exe and verify its output
+name: Run threads.exe
+description: Run threads.exe and verify its output
runs:
using: composite
steps:
@@ -10,7 +10,7 @@ runs:
Doing something #3
"@
- $actual = & (Join-Path . foo)
+ $actual = & (Join-Path . test threads)
$actual = $actual -join [Environment]::NewLine
echo @"
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c9749fd..3c2ffb7 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -32,11 +32,11 @@ jobs:
with:
platform: '${{ matrix.platform }}'
cc: 1
- - name: Build foo.exe
+ - name: Build threads.exe
run: |
- & '${{ steps.setup.outputs.gxx }}' -std=c++14 -o foo foo.cpp
- - name: Run foo.exe
- uses: ./.github/actions/run-foo
+ & '${{ steps.setup.outputs.gxx }}' -std=c++14 -o (Join-Path . test threads) (Join-Path . test threads.cpp)
+ - name: Run threads.exe
+ uses: ./.github/actions/run-threads
if: runner.os == 'Windows'
- name: Check cc/c++
uses: ./.github/actions/check-cc
@@ -67,8 +67,8 @@ jobs:
uses: ./.github/actions/check-cc
with:
version: '${{ matrix.version }}'
- - name: Build foo.exe
+ - name: Build threads.exe
run: |
- & '${{ steps.setup.outputs.gxx }}' -std=c++14 -o foo foo.cpp
- - name: Run foo.exe
- uses: ./.github/actions/run-foo
+ & '${{ steps.setup.outputs.gxx }}' -std=c++14 -o (Join-Path . test threads) (Join-Path . test threads.cpp)
+ - name: Run threads.exe
+ uses: ./.github/actions/run-threads