Skip to content

Commit f45a7ee

Browse files
Adjust collector building into separate CI step
1 parent ef9a984 commit f45a7ee

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353
sudo apt-get install -y linux-tools-common linux-tools-generic linux-tools-`uname -r`
5454
echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid
5555
56+
- name: Build collector
57+
run: cargo build -p collector
58+
5659
- name: Check benchmarks
5760
run: sh -x -c "ci/check-benchmarks.sh"
5861
env:
@@ -81,6 +84,9 @@ jobs:
8184
- name: Install servo dependencies
8285
run: sudo apt-get install -y llvm-dev clang libx11-dev python2.7 autoconf2.13
8386

87+
- name: Build collector
88+
run: cargo build -p collector
89+
8490
- name: Check benchmarks
8591
run: sh -x -c "ci/check-benchmarks.sh"
8692
env:

ci/check-benchmarks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ set -x;
55
bash -c "while true; do sleep 30; echo \$(date) - running ...; done" &
66
PING_LOOP_PID=$!
77
trap - ERR
8-
cargo build -p collector;
98
RUST_BACKTRACE=1 RUST_LOG=collector=debug,rust_sysroot=debug \
109
cargo run -p collector --bin collector -- \
1110
--db temporary.db \

0 commit comments

Comments
 (0)