File tree Expand file tree Collapse file tree 4 files changed +420
-498
lines changed
Expand file tree Collapse file tree 4 files changed +420
-498
lines changed Original file line number Diff line number Diff line change 99 using : ' composite'
1010 steps :
1111 - name : Install system dependencies
12- run : sudo apt-get update && sudo apt-get install -y g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0 libwayland-dev libxkbcommon-dev libglfw3-dev
12+ run : sudo apt-get update && sudo apt-get install -y g++ cmake pkg-config libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libasound2-dev libudev-dev libxkbcommon-x11-0 libwayland-dev libwayland-bin libxkbcommon-dev wayland-protocols libdecor-0-dev libegl1-mesa-dev libwayland-egl1-mesa
13+ shell : bash
14+
15+ - name : Build and install GLFW 3.4
16+ run : |
17+ git clone --depth 1 --branch 3.4 https://github.com/glfw/glfw.git /tmp/glfw
18+ cd /tmp/glfw
19+ cmake -B build -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_DOCS=OFF -DGLFW_BUILD_WAYLAND=ON -DGLFW_BUILD_X11=ON
20+ cmake --build build
21+ sudo cmake --install build
22+ sudo ldconfig
1323 shell : bash
1424
1525 - name : Install Rust
Original file line number Diff line number Diff line change 3737 key : ${{ runner.os }}-target-${{ hashFiles('**/Cargo.lock') }}
3838
3939 - name : Run tests
40- run : cargo test --all-features -- workspace
40+ run : cargo test --workspace
4141
4242 fmt :
4343 name : Format
8181 key : ${{ runner.os }}-clippy-target-${{ hashFiles('**/Cargo.lock') }}
8282
8383 - name : Run clippy
84- run : cargo clippy --all-features -- workspace -- -D warnings
84+ run : cargo clippy --workspace -- -D warnings
8585
8686 build :
8787 name : Build
@@ -110,4 +110,4 @@ jobs:
110110 key : ${{ runner.os }}-build-target-${{ hashFiles('**/Cargo.lock') }}
111111
112112 - name : Build
113- run : cargo build --all-features -- workspace --verbose
113+ run : cargo build --workspace --verbose
You can’t perform that action at this time.
0 commit comments