Skip to content

Don't use deprecated headers from HPX #213

Don't use deprecated headers from HPX

Don't use deprecated headers from HPX #213

Workflow file for this run

# Copyright (c) 2020-2022 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
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container: stellargroup/build_env:latest
strategy:
matrix:
hpx_version: ["1.8.1", "v1.9.0", "v1.10.0"]
kokkos_version: ["3.6.00", "4.0.00"]
include:
- hpx_version: "v1.10.0"
kokkos_version: "3.6.00"
cxxflags: "-Wno-error=#warnings"
- hpx_version: "v1.10.0"
kokkos_version: "4.0.00"
cxxflags: "-Wno-error=#warnings"
steps:
- uses: actions/checkout@v2
- name: Update apt repositories for ccache
run: apt update
- name: Setup ccache
uses: hendrikmuhs/[email protected]
with:
key: ccache-linux-${{ matrix.hpx_version }}-${{ matrix.kokkos_version }}
- name: Install HPX
shell: bash
run: |
mkdir -p /tmp/hpx
cd /tmp/hpx
git clone \
--branch ${{ matrix.hpx_version }} \
--single-branch \
--depth 1 \
https://github.com/STEllAR-GROUP/hpx.git
mkdir -p build
cd build
cmake \
../hpx \
-GNinja \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_BUILD_TYPE=Debug \
-DHPX_WITH_UNITY_BUILD=ON \
-DHPX_WITH_MALLOC=system \
-DHPX_WITH_EXAMPLES=OFF \
-DHPX_WITH_NETWORKING=OFF
ninja install
- name: Install Kokkos
shell: bash
run: |
mkdir -p /tmp/kokkos
cd /tmp/kokkos
git clone \
--branch ${{ matrix.kokkos_version }} \
--single-branch \
--depth 1 \
https://github.com/kokkos/kokkos.git
mkdir -p build
cd build
cmake \
../kokkos \
-GNinja \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_BUILD_TYPE=Debug \
-DKokkos_ENABLE_HPX=ON \
-DKokkos_ENABLE_HPX_ASYNC_DISPATCH=ON
ninja install
- name: Configure
shell: bash
run: |
cmake \
. \
-Bbuild \
-GNinja \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_FLAGS="-Werror ${{ matrix.cxxflags }}" \
-DCMAKE_BUILD_TYPE=Debug \
-DHPX_KOKKOS_ENABLE_TESTS=ON
- name: Build
shell: bash
run: |
cmake --build build --target tests
- name: Test
shell: bash
run: |
cd build
ctest --output-on-failure