Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
insertinterestingnamehere committed Jan 8, 2025
1 parent 9433a99 commit d8737dc
Showing 1 changed file with 27 additions and 6 deletions.
33 changes: 27 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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"
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit d8737dc

Please sign in to comment.