diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bcf7fb..fe6e586 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,18 +2,31 @@ name: CI on: pull_request: - branches: [ "main" ] - -env: - CARGO_TERM_COLOR: always + branches: [main] jobs: build: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v6 + - uses: actions/checkout@v4 + + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y \ + libwayland-dev \ + pkg-config \ + libxkbcommon-dev \ + libxcb-shape0-dev \ + libxcb-xfixes0-dev - - name: Execute + - name: Execute (release) run: cargo run --release -- status