Replace uses of STL types in device code #22
Workflow file for this run
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
# This file is part of covfie, a part of the ACTS project | |
# | |
# Copyright (c) 2022 CERN | |
# | |
# This Source Code Form is subject to the terms of the Mozilla Public License, | |
# v. 2.0. If a copy of the MPL was not distributed with this file, You can | |
# obtain one at http://mozilla.org/MPL/2.0/. | |
name: Downstream Build Tests | |
on: [ push, pull_request ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
linux-core: | |
name: "Linux" | |
runs-on: "ubuntu-latest" | |
container: ubuntu:24.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: apt-get update && apt-get -y install | |
libboost-filesystem-dev | |
libboost-program-options-dev | |
libboost-log-dev | |
wget | |
cmake | |
g++ | |
- name: Configure covfie | |
run: cmake | |
-DCMAKE_BUILD_TYPE=${{ matrix.BUILD }} | |
-DCOVFIE_FAIL_ON_WARNINGS=TRUE | |
-DCMAKE_CXX_STANDARD=20 | |
-S $GITHUB_WORKSPACE | |
-B build_covfie | |
- name: Build covfie | |
run: cmake --build build_covfie -- -j $(nproc) | |
- name: Install covfie | |
run: cmake --install build_covfie --prefix "$GITHUB_WORKSPACE/.prefixes/covfie/" | |
- name: Configure downstream | |
run: cmake | |
-DCMAKE_CXX_STANDARD=20 | |
-DCMAKE_PREFIX_PATH="$GITHUB_WORKSPACE/.prefixes/covfie/" | |
-S $GITHUB_WORKSPACE/tests/downstream | |
-B build_downstream | |
- name: Build downstream | |
run: VERBOSE=1 cmake --build build_downstream -- -j $(nproc) |