Skip to content

Commit

Permalink
WIP: add tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
ahayzen-kdab committed Feb 13, 2025
1 parent 0acc26b commit cdd6adf
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/github-cxx-qt-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
if: steps.rust-tools-cache.outputs.cache-hit != 'true'
# Do not build with storage backends enabled, we only need local
run: |
cargo install --no-default-features --version 0.8.2 sccache
cargo install --locked --no-default-features --version 0.8.2 sccache
cargo install --version 0.4.36 mdbook
cargo install --version 0.7.7 mdbook-linkcheck
# We want our compiler cache to always update to the newest state.
Expand Down Expand Up @@ -415,7 +415,7 @@ jobs:
if: steps.rust-tools-cache.outputs.cache-hit != 'true'
# Do not build with storage backends enabled, we only need local
run: |
cargo install --no-default-features --version 0.8.2 sccache
cargo install --locked --no-default-features --version 0.8.2 sccache
cargo install --version 0.4.36 mdbook
cargo install --version 0.7.7 mdbook-linkcheck
Expand Down Expand Up @@ -484,6 +484,14 @@ jobs:
if: runner.os == 'Windows'
uses: seanmiddleditch/gha-setup-vsdevenv@v4

- name: "debug env vars"
if: runner.os == 'Linux'
run: env

- name: Setup tmate session
if: runner.os == 'Linux' && matrix.qt_version == 6
uses: mxschmitt/action-tmate@v3

# Ninja is required on Windows for CMAKE_CXX_COMPILER_LAUNCHER to work for using sccache.
- name: "Configure"
run: >-
Expand All @@ -496,10 +504,20 @@ jobs:
RUSTC_WRAPPER: ${{ matrix.rustc_wrapper }}
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
SCCACHE_ERROR_LOG: /tmp/sccache_log.txt
SCCACHE_LOG: debug
- name: "Build"
run: cmake --build build --config Release --parallel ${{ matrix.cores }}
env:
RUSTC_WRAPPER: ${{ matrix.rustc_wrapper }}
SCCACHE_ERROR_LOG: /tmp/sccache_log.txt
SCCACHE_LOG: debug
- name: "Debug out dirs"
if: runner.os == 'Linux'
run: |
ls -l build/cargo/build/release/build
cat /tmp/sccache_log.txt
- name: "Test"
run: ctest ${{ matrix.ctest_args }} -C Release -T test --output-on-failure --parallel ${{ matrix.cores }}
working-directory: ./build
Expand Down

0 comments on commit cdd6adf

Please sign in to comment.