summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-12-12 15:48:57 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-12-12 15:48:57 (GMT)
commita9bbed9de5b0f97da00341ff50556faa0a3db048 (patch)
tree1dbf7bdf6260c072e2239d8679e7eff63d52ff09 /.github
parent42f119eadfc4ddac38c5d5ae823a9cb12f97e2a1 (diff)
downloadDoxygen-a9bbed9de5b0f97da00341ff50556faa0a3db048.zip
Doxygen-a9bbed9de5b0f97da00341ff50556faa0a3db048.tar.gz
Doxygen-a9bbed9de5b0f97da00341ff50556faa0a3db048.tar.bz2
Fixed syntax error in yml script
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_cmake.yml35
1 files changed, 18 insertions, 17 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml
index ea819ad..4854d82 100644
--- a/.github/workflows/build_cmake.yml
+++ b/.github/workflows/build_cmake.yml
@@ -17,26 +17,27 @@ jobs:
}
steps:
- uses: actions/checkout@v1
+
- name: Configure
- shell: cmake -P {0}
- run: |
- set(ENV{CC} ${ { matrix.config.cc } })
- set(ENV{CXX} ${ { matrix.config.cxx } })
+ shell: cmake -P {0}
+ run: |
+ set(ENV{CC} ${ { matrix.config.cc } })
+ set(ENV{CXX} ${ { matrix.config.cxx } })
- file(TO_CMAKE_PATH "$ENV{GITHUB_WORKSPACE}/ninja" ninja_program)
+ file(TO_CMAKE_PATH "$ENV{GITHUB_WORKSPACE}/ninja" ninja_program)
- execute_process(
- COMMAND ${ { steps.cmake_and_ninja.outputs.cmake_dir } }/cmake
- -S .
- -B build
- -D CMAKE_BUILD_TYPE=${ { matrix.config.build_type } }
- -G Ninja
- -D CMAKE_MAKE_PROGRAM=${ninja_program}
- RESULT_VARIABLE result
- )
- if (NOT result EQUAL 0)
- message(FATAL_ERROR "Bad exit status")
- endif()
+ execute_process(
+ COMMAND ${ { steps.cmake_and_ninja.outputs.cmake_dir } }/cmake
+ -S .
+ -B build
+ -D CMAKE_BUILD_TYPE=${ { matrix.config.build_type } }
+ -G Ninja
+ -D CMAKE_MAKE_PROGRAM=${ninja_program}
+ RESULT_VARIABLE result
+ )
+ if (NOT result EQUAL 0)
+ message(FATAL_ERROR "Bad exit status")
+ endif()
- name: Build
shell: cmake -P {0}