-
-
Notifications
You must be signed in to change notification settings - Fork 543
89 lines (78 loc) · 2.44 KB
/
configure-test-combination.yml
File metadata and controls
89 lines (78 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Copyright (c) 2026 The STE||AR Group
#
# 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: Configure Test Combinations
on:
pull_request:
push:
branches:
- master
- 'release**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.sha }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
configure-test-combinations:
runs-on: ubuntu-latest
container: stellargroup/build_env:17
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Create build directory
run: mkdir -p build
- name: Running CMake with tests on and examples off
working-directory: build
run: |
cmake \
.. \
-G "Ninja" \
-DHPX_WITH_MALLOC=system \
-DHPX_WITH_FETCH_ASIO=Off \
-DHPX_WITH_TESTS=On \
-DHPX_WITH_EXAMPLES=Off
rm -rf *
- name: Running CMake with tests off and examples on
working-directory: build
run: |
cmake \
.. \
-G "Ninja" \
-DHPX_WITH_MALLOC=system \
-DHPX_WITH_FETCH_ASIO=Off \
-DHPX_WITH_TESTS=Off \
-DHPX_WITH_EXAMPLES=On
rm -rf *
- name: Running CMake with APEX on
working-directory: build
run: |
cmake \
.. \
-G "Ninja" \
-DHPX_WITH_MALLOC=system \
-DHPX_WITH_FETCH_ASIO=Off \
-DHPX_WITH_APEX=On \
-DHPX_WITH_FETCH_APEX=ON \
-DHPX_WITH_TESTS=On \
-DHPX_WITH_EXAMPLES=On
rm -rf *
- name: Running CMake with distributed runtime off
working-directory: build
run: |
cmake \
.. \
-G "Ninja" \
-DHPX_WITH_MALLOC=system \
-DHPX_WITH_FETCH_ASIO=Off \
-DHPX_WITH_DISTRIBUTED_RUNTIME=OFF \
-DHPX_WITH_NETWORKING=OFF \
-DHPX_WITH_TESTS=On \
-DHPX_WITH_EXAMPLES=On
rm -rf *
- name: Upload build directory
uses: actions/upload-artifact@v7
with:
name: hpx-build
path: build