Skip to content

Commit

Permalink
remove commented out line so hpp11 tests should fail now
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbaug committed Oct 25, 2024
1 parent 8bc6df5 commit 1f0c59d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,6 @@ jobs:
- name: Check generated headers
run: git diff --exit-code

build_with_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=install -DSPIRV_HEADERS_ENABLE_TESTS=ON ..
cmake --build . --target install
test_cmake_min_required:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ target_link_libraries(spirv_headers_simple_test PRIVATE SPIRV-Headers::SPIRV-Hea
add_test(NAME spirv_headers_simple_test COMMAND spirv_headers_simple_test)

add_executable(spirv_headers_simple_test_cpp11 example11.cpp)
#target_compile_definitions(spirv_headers_simple_test_cpp11 PRIVATE SPV_ENABLE_UTILITY_CODE)
target_compile_definitions(spirv_headers_simple_test_cpp11 PRIVATE SPV_ENABLE_UTILITY_CODE)
target_link_libraries(spirv_headers_simple_test_cpp11 PRIVATE SPIRV-Headers::SPIRV-Headers)
set_target_properties(spirv_headers_simple_test_cpp11 PROPERTIES CXX_STANDARD 11)
add_test(NAME spirv_headers_simple_test_cpp11 COMMAND spirv_headers_simple_test_cpp11)
Expand Down

0 comments on commit 1f0c59d

Please sign in to comment.