aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/actions/build-threads/action.yml (renamed from .github/actions/build-foo/action.yml)6
-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
3 files changed, 14 insertions, 14 deletions
diff --git a/.github/actions/build-foo/action.yml b/.github/actions/build-threads/action.yml
index 36fc650..8c754b0 100644
--- a/.github/actions/build-foo/action.yml
+++ b/.github/actions/build-threads/action.yml
@@ -1,5 +1,5 @@
-name: Build foo.exe
-description: Build foo.exe
+name: Build threads.exe
+description: Build threads.exe
inputs:
binary:
description: Compiler binary file name
@@ -19,7 +19,7 @@ runs:
if ('${{ matrix.platform }}' -eq 'x86') {
$flags += '-m32'
}
- $flags += '-std=c++14','-o','foo.exe','foo.cpp'
+ $flags += '-std=c++14','-o','test/threads.exe','test/threads.cpp'
if ('${{ runner.os }}' -eq 'Linux') {
$flags += '-lpthread'
}
diff --git a/.github/actions/run-foo/action.yml b/.github/actions/run-threads/action.yml
index 0e56b07..47de1c9 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.exe)
+ $actual = & (Join-Path . test threads.exe)
$actual = $actual -join [Environment]::NewLine
echo @"
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index a80d1f9..cadba19 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -28,10 +28,10 @@ jobs:
with:
platform: '${{ matrix.platform }}'
cc: 1
- - name: Build foo.exe
- uses: ./.github/actions/build-foo
- - name: Run foo.exe
- uses: ./.github/actions/run-foo
+ - name: Build threads.exe
+ uses: ./.github/actions/build-threads
+ - name: Run threads.exe
+ uses: ./.github/actions/run-threads
- name: Check symlinks
uses: ./.github/actions/check-cc
- name: Check lld
@@ -61,12 +61,12 @@ jobs:
version: '${{ matrix.version }}'
platform: '${{ matrix.platform }}'
cc: 1
- - name: Build foo.exe
- uses: ./.github/actions/build-foo
+ - name: Build threads.exe
+ uses: ./.github/actions/build-threads
with:
binary: '${{ steps.setup.outputs.clangxx }}'
- - name: Run foo.exe
- uses: ./.github/actions/run-foo
+ - name: Run threads.exe
+ uses: ./.github/actions/run-threads
- name: Check symlinks
uses: ./.github/actions/check-cc
with: