mirror of
https://github.com/boostorg/config.git
synced 2025-08-02 05:44:26 +02:00
Disable ranges on MacOS.
Remove CUDA testing - I just can't get CUDA to install any more.
This commit is contained in:
58
.github/workflows/ci.yml
vendored
58
.github/workflows/ci.yml
vendored
@@ -527,61 +527,3 @@ jobs:
|
||||
source ../emsdk/emsdk_env.sh
|
||||
emcc -pthread -s EXIT_RUNTIME=1 -s PTHREAD_POOL_SIZE=32 -s DISABLE_EXCEPTION_CATCHING=0 -I. -O3 -o config_test_pthread libs/config/test/config_test.cpp
|
||||
node --experimental-wasm-threads config_test_pthread
|
||||
ubuntu-cuda:
|
||||
runs-on: ubuntu-24.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
std: [ 11 ]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
- uses: mstachniuk/ci-skip@v1
|
||||
with:
|
||||
commit-filter: '[skip ci];[ci skip];[CI SKIP];[SKIP CI];***CI SKIP***;***SKIP CI***;[windows];[Windows];[WINDOWS];[apple];[Apple];[APPLE]'
|
||||
commit-filter-separator: ';'
|
||||
fail-fast: true
|
||||
- name: Add repository
|
||||
run: sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
|
||||
- name: Install packages
|
||||
run: sudo apt install g++ clang
|
||||
- uses: Jimver/cuda-toolkit@master
|
||||
id: cuda-toolkit
|
||||
with:
|
||||
log-file-suffix: '${{matrix.std}}.txt'
|
||||
- name: Checkout main boost
|
||||
run: git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
|
||||
- name: Update Dependencies
|
||||
run: git submodule update --init tools/build tools/boost_install libs/headers libs/detail libs/core libs/assert libs/type_traits libs/static_assert libs/throw_exception libs/preprocessor
|
||||
working-directory: ../boost-root
|
||||
- name: Copy files
|
||||
run: cp -r $GITHUB_WORKSPACE/* libs/config
|
||||
working-directory: ../boost-root
|
||||
- name: Bootstrap
|
||||
run: ./bootstrap.sh
|
||||
working-directory: ../boost-root
|
||||
- name: Generate headers
|
||||
run: ./b2 headers
|
||||
working-directory: ../boost-root
|
||||
- name: nvcc version
|
||||
run: nvcc --version
|
||||
working-directory: ../boost-root/libs/config/test
|
||||
- name: Config info nvcc
|
||||
run: nvcc -std=c++${{ matrix.std }} -o config_info -I../../.. config_info.cpp && ./config_info
|
||||
working-directory: ../boost-root/libs/config/test
|
||||
- name: Config_test nvcc
|
||||
run: nvcc -std=c++${{ matrix.std }} -o config_test -I../../.. config_test.cpp && ./config_test
|
||||
working-directory: ../boost-root/libs/config/test
|
||||
- name: Config_test nvcc-cuda
|
||||
run: nvcc -c -std=c++${{ matrix.std }} -I../../.. config_test.cu
|
||||
working-directory: ../boost-root/libs/config/test
|
||||
- name: Config info nvcc+clang
|
||||
run: nvcc -std=c++${{ matrix.std }} --compiler-bindir=clang++ -o config_info -I../../.. config_info.cpp && ./config_info
|
||||
working-directory: ../boost-root/libs/config/test
|
||||
- name: Config_test nvcc+clang
|
||||
run: nvcc -std=c++${{ matrix.std }} --compiler-bindir=clang++ -o config_test -I../../.. config_test.cpp -latomic && ./config_test
|
||||
working-directory: ../boost-root/libs/config/test
|
||||
- name: Config_test clang-cuda
|
||||
run: clang++ -nocudalib --no-cuda-version-check -c --cuda-gpu-arch=sm_75 -std=c++${{ matrix.std }} -I../../.. config_test.cu
|
||||
working-directory: ../boost-root/libs/config/test
|
||||
|
@@ -177,4 +177,9 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if _LIBCPP_VERSION <= 170006
|
||||
// no std::ranges::join_view
|
||||
# define BOOST_NO_CXX20_HDR_RANGES
|
||||
#endif
|
||||
|
||||
// --- end ---
|
||||
|
Reference in New Issue
Block a user