Skip to content

Commit 2000c31

Browse files
authored
Update Rust toolchain and install Linux dependencies
Added steps to update the Rust toolchain and install Linux dependencies.
1 parent cb348c5 commit 2000c31

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/rust.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525

26+
- name: Update Rust Toolchain
27+
run: rustup update stable && rustup default stable
28+
29+
- name: Install Linux Dependencies
30+
if: runner.os == 'Linux'
31+
run: |
32+
sudo apt-get update
33+
sudo apt-get install -y libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libx11-dev libssl-dev
34+
2635
# Cache przyspiesza budowanie przy kolejnych uruchomieniach
2736
- name: Cache Cargo
2837
uses: actions/cache@v3

0 commit comments

Comments
 (0)