-
-
Notifications
You must be signed in to change notification settings - Fork 543
74 lines (69 loc) · 2.73 KB
/
macos_debug_fetch_hwloc.yml
File metadata and controls
74 lines (69 loc) · 2.73 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
# Copyright (c) 2024 Vedant Nimje
# Copyright (c) 2024 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: macOS CI (Debug, Local Runtime) with HWLoc fetch
on: [pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
- name: Install dependencies
run: |
brew install --overwrite python-tk && \
brew install --overwrite boost gperftools ninja autoconf automake pkgconf libtool && \
brew upgrade cmake
- name: Configure
shell: bash
run: |
ln -s "$(which aclocal)" /opt/homebrew/bin/aclocal-1.16
ln -s "$(which automake)" /opt/homebrew/bin/automake-1.16
cmake \
-H. \
-Bbuild \
-GNinja \
-DCMAKE_BUILD_TYPE=Debug \
-DHPX_WITH_FETCH_ASIO=ON \
-DHPX_WITH_FETCH_HWLOC=ON \
-DHPX_WITH_DISTRIBUTED_RUNTIME=OFF \
-DHPX_WITH_NETWORKING=OFF \
-DHPX_WITH_EXAMPLES=ON \
-DHPX_WITH_TESTS=ON \
-DHPX_WITH_TESTS_MAX_THREADS_PER_LOCALITY=3 \
-DHPX_WITH_VERIFY_LOCKS=OFF \
-DHPX_WITH_VERIFY_LOCKS_BACKTRACE=OFF \
-DHPX_WITH_CHECK_MODULE_DEPENDENCIES=ON
- name: Build
shell: bash
run: |
cmake --build build --target all
cmake --build build --target tests
- name: Test
shell: bash
run: |
cd build
ctest --output-on-failure \
--exclude-regex \
"tests.examples.quickstart.1d_wave_equation|\
tests.examples.transpose.transpose_block_numa|\
tests.performance.local.wait_all_timings|\
tests.regressions.modules.compute_local.parallel_fill_4132|\
tests.unit.modules.algorithms.default_construct|\
tests.unit.modules.algorithms.destroy|\
tests.unit.modules.algorithms.foreach_executors|\
tests.unit.modules.algorithms.max_element|\
tests.unit.modules.algorithms.replace_copy_if|\
tests.unit.modules.compute_local.numa_allocator|\
tests.unit.modules.execution.standalone_thread_pool_executor|\
tests.unit.modules.resource_partitioner.used_pus|\
tests.unit.topology.numa_allocator|\
tests.unit.modules.executors.limiting_executor|\
tests.unit.modules.compute_local.block_fork_join_executor|\
tests.unit.modules.algorithms.algorithms.all_of|\
tests.unit.modules.algorithms.algorithms.any_of"