Skip to content

Commit

Permalink
Fixed syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
bialger committed Jan 18, 2024
1 parent 9c8d033 commit 3addfc9
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,23 @@ jobs:
endif()
- name: Create CMake cache
shell: bash
shell: cmake -P {0}
run: |
cmake -S . -B cmake-build -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC
execute_process(
COMMAND cmake -S . -B cmake-build -DCMAKE_CXX_COMPILER=${{ matrix.config.cxx }} -DCMAKE_C_COMPILER=${{ matrix.config.cc }}
RESULT_WORKING_DIRECTORY build
RESULT_VARIABLE result
ECHO_OUTPUT_VARIABLE result_output
ECHO_ERROR_VARIABLE result_error
)
if (NOT result EQUAL 0)
message(FATAL_ERROR "Running tests failed!")
endif()
message(STATUS "${result_output}")
message(STATUS "${result_error}")
- name: Build main target
run: |
Expand Down

0 comments on commit 3addfc9

Please sign in to comment.