Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: investigate cache misses #1181

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/github-cxx-qt-tests.yml
Original file line number Diff line number Diff line change
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
Loading