Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Jan 29, 2023
1 parent ddf4863 commit 93575ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/header-only-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,17 @@ jobs:

- name: Run CMake
run: |
cmake -B build -S header-only/tests
cmake -B build -S header-only/tests \
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=bin \
-DCMAKE_BUILD_TYPE=Release
cmake --build build/
- name: Run tests
run: |
import os
import pathlib
import subprocess
for path in pathlib.Path("build/bin").rglob("*"):
print(path)
for path in pathlib.Path("build/bin").glob("test_*"):
print(path)
if path.is_file():
print(f"Running {path.name}", flush=True)
print("::group::Test output", flush=True)
Expand Down
1 change: 0 additions & 1 deletion header-only/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY bin)

# C++ dependencies (header-only): GrowableBuffer
add_library(awkward-parent INTERFACE)
Expand Down

0 comments on commit 93575ad

Please sign in to comment.