Fix CMake warning issued since CMake V3.30 #8838
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2020 ETH Zurich | |
# | |
# SPDX-License-Identifier: BSL-1.0 | |
# Distributed under the Boost Software License, Version 1.0. (See accompanying | |
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
name: Linux CI (Release, FetchContent) | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: stellargroup/build_env:14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure | |
shell: bash | |
run: | | |
cmake \ | |
tests/unit/build/fetchcontent \ | |
-Bbuild \ | |
-GNinja \ | |
-DCMAKE_BUILD_TYPE=Release \ | |
-DHPX_WITH_MALLOC=system \ | |
-DHPX_WITH_FETCH_ASIO=ON \ | |
-DHPX_WITH_APEX=ON \ | |
-DHPX_WITH_FETCH_APEX=ON \ | |
-DHPX_WITH_EXAMPLES=ON \ | |
-DHPX_WITH_TESTS=OFF \ | |
-DHPX_REPOSITORY="file:////$(pwd)" \ | |
-DHPX_TAG="$GITHUB_SHA" \ | |
-DHPX_WITH_CHECK_MODULE_DEPENDENCIES=On | |
- name: Build | |
shell: bash | |
run: | | |
cmake --build build --target all | |
cmake --build build --target examples |