Skip to content

Commit 9c8a25c

Browse files
d-e-s-oinsearchoflosttime
authored andcommitted
Merge symlink step with dependency installation
This small change merges the symlink creation step with the dependency installation. It's entirely reasonably to consider the symlinking we do part of the dependency setup and there is no value in having a dedicated step for doing that -- it's just noise on the UI. Signed-off-by: Daniel Müller <deso@posteo.net>
1 parent 6375db1 commit 9c8a25c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ jobs:
4545
components: rustfmt
4646
override: true
4747
- name: Install deps
48-
run: sudo apt-get install -y clang-14 libelf-dev zlib1g-dev
49-
- name: Symlink clang
50-
run: sudo rm -f /bin/clang && sudo ln -s /usr/bin/clang-14 /bin/clang
48+
run: |
49+
sudo apt-get install -y clang-14 libelf-dev zlib1g-dev
50+
sudo rm -f /bin/clang && sudo ln -s /usr/bin/clang-14 /bin/clang
5151
- name: Build
5252
run: cargo build --verbose --workspace --exclude runqslower
5353
- name: Build capable example with static libelf and libz
54-
run: RUSTFLAGS="$RUSTFLAGS -L /usr/lib/x86_64-linux-gnu" cargo b --package capable --features=static
54+
run: RUSTFLAGS="$RUSTFLAGS -L /usr/lib/x86_64-linux-gnu" cargo build --package capable --features=static
5555
- name: Run tests
5656
# Skip BTF tests which require sudo
5757
run: cargo test --verbose --workspace --exclude runqslower -- --skip test_object --skip test_tc

0 commit comments

Comments
 (0)