From d8737dc7c40e7c6e1aeac1d221260ed770aa4bd8 Mon Sep 17 00:00:00 2001 From: Ian Henriksen Date: Wed, 8 Jan 2025 12:40:39 -0700 Subject: [PATCH] debug --- .github/workflows/CI.yml | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 50044cb73..6e9cc3860 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -36,7 +36,10 @@ jobs: make -j2 popd - name: run tests - run: CTEST_OUTPUT_ON_FAILURE=1 timeout -k 10s --foreground 12m make test + run: | + pushd build + CTEST_OUTPUT_ON_FAILURE=1 timeout -k 10s --foreground 12m make test + popd timeout-minutes: 13 linux-clang: @@ -79,7 +82,10 @@ jobs: make -j2 popd - name: run tests - run: CTEST_OUTPUT_ON_FAILURE=1 timeout -k 10s --foreground 12m make test + run: | + pushd build + CTEST_OUTPUT_ON_FAILURE=1 timeout -k 10s --foreground 12m make test + popd timeout-minutes: 13 linux-icx: @@ -118,8 +124,10 @@ jobs: popd - name: run tests run: | + pushd build source /opt/intel/oneapi/setvars.sh CTEST_OUTPUT_ON_FAILURE=1 timeout -k 10s --foreground 12m make test + popd timeout-minutes: 13 linux-icc: @@ -160,8 +168,10 @@ jobs: popd - name: run tests run: | + pushd build source /opt/intel/oneapi/setvars.sh CTEST_OUTPUT_ON_FAILURE=1 timeout -k 10s --foreground 12m make test + popd timeout-minutes: 13 linux-aocc: @@ -197,11 +207,13 @@ jobs: popd - name: run tests run: | + pushd build CTEST_OUTPUT_ON_FAILURE=1 timeout -k 10s --foreground 12m make test + popd timeout-minutes: 13 mac: - runs-on: macos-latest + runs-on: macos-15 continue-on-error: true strategy: matrix: @@ -221,6 +233,9 @@ jobs: hwloc-ls --version - name: build qthreads run: | + cat /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/c++/v1/__atomic/cxx_atomic_impl.h + export CC=gcc + export CXX=g++ export CFLAGS="-I$(brew --prefix)/include $CFLAGS" export CXXFLAGS="-I$(brew --prefix)/include $CXXFLAGS" export LDFLAGS="-L$(brew --prefix)/lib $LDFLAGS" @@ -234,7 +249,9 @@ jobs: # commented example for how to get a backtrace from CI usign lldb on OSX: #echo "settings set target.process.stop-on-exec false" > ~/.lldbinit #QT_NUM_SHEPHERDS=2 QT_NUM_WORKERS_PER_SHEPHERD=1 lldb bash --batch --one-line 'process launch' --one-line-on-crash 'bt' --one-line-on-crash 'quit' -- test/basics/hello_world - CTEST_OUTPUT_ON_FAILURE=1 gtimeout -k 10s --foreground 12m make test + pushd build + CTEST_OUTPUT_ON_FAILURE=1 gtimeout -k 10s --foreground 12m make test VERBOSE=1 + popd timeout-minutes: 13 sanitizers: @@ -292,9 +309,10 @@ jobs: popd - name: run tests run: | - export QTHREADS_DIR="$(pwd)" + pushd build if [[ "${{ matrix.sanitizer }}" == "thread" ]]; then cd test/basics; fi CTEST_OUTPUT_ON_FAILURE=1 timeout -k 10s --foreground 18m make test + popd timeout-minutes: 19 linux-thorough: @@ -338,7 +356,10 @@ jobs: make -j2 popd - name: run tests - run: CTEST_OUTPUT_ON_FAILURE=1 timeout -k 10s --foreground 18m make test + run: | + pushd build + CTEST_OUTPUT_ON_FAILURE=1 timeout -k 10s --foreground 18m make test + popd timeout-minutes: 19 clang-format: