mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-14 14:12:26 -06:00
ci: move comment breaking up 'rustflags' for coverage linking
This commit is contained in:
2
.github/workflows/coverage.yaml
vendored
2
.github/workflows/coverage.yaml
vendored
@@ -43,12 +43,12 @@ jobs:
|
|||||||
- name: Install cargo-tarpaulin
|
- name: Install cargo-tarpaulin
|
||||||
run: cargo install cargo-tarpaulin
|
run: cargo install cargo-tarpaulin
|
||||||
|
|
||||||
|
# Note: We manually link zlib. This should be synchronized with the flags set for Linux in .cargo/config.toml.
|
||||||
- name: Generate coverage report
|
- name: Generate coverage report
|
||||||
run: |
|
run: |
|
||||||
cargo tarpaulin \
|
cargo tarpaulin \
|
||||||
--out Html \
|
--out Html \
|
||||||
--output-dir coverage \
|
--output-dir coverage \
|
||||||
# Manually link zlib. This should be synchronized with the flags set for Linux in .cargo/config.toml.
|
|
||||||
--rustflags="-C link-arg=-lz"
|
--rustflags="-C link-arg=-lz"
|
||||||
|
|
||||||
- name: Upload coverage to Coveralls
|
- name: Upload coverage to Coveralls
|
||||||
|
|||||||
Reference in New Issue
Block a user