Skip to content

Commit fdcba72

Browse files
committed
ci: debug sccache
1 parent ffb65eb commit fdcba72

1 file changed

Lines changed: 6 additions & 18 deletions

File tree

.github/workflows/pyoxidizer.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -85,30 +85,18 @@ jobs:
8585
8686
- name: Start sccache
8787
run: |
88-
sccache --start-server
88+
SCCACHE_ERROR_LOG=/tmp/sccache_log.txt SCCACHE_LOG=debug sccache --start-server
8989
90-
# TODO get pyembed working. It needs a working libpython.
91-
- name: Build Workspace
90+
- name: Build Project
9291
env:
9392
RUSTC_WRAPPER: sccache
93+
SCCACHE_ERROR_LOG: /tmp/sccache_log.txt
94+
SCCACHE_LOG: debug
9495
run: |
95-
cargo build --workspace --exclude pyembed --exclude oxidized-importer
96-
cargo run --bin pyoxidizer -- --version
97-
98-
- name: Test Workspace
99-
env:
100-
RUSTC_WRAPPER: sccache
101-
run: |
102-
cargo test --workspace --exclude pyembed --exclude oxidized-importer
103-
104-
- name: Run Clippy
105-
if: ${{ matrix.rust_toolchain == 'stable' || matrix.rust_toolchain == 'beta' }}
106-
env:
107-
RUSTC_WRAPPER: sccache
108-
run: |
109-
cargo clippy --workspace --exclude pyembed --exclude oxdized-importer
96+
cargo build -p python-packed-resources
11097
11198
- name: Stop sccache
11299
run: |
100+
cat /tmp/sccache_log.txt
113101
sccache --show-stats
114102
sccache --stop-server

0 commit comments

Comments
 (0)