Skip to content

Update build.yml

Update build.yml #17

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Rustup for newer Rust version
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- name: Install depencencies
run: sudo apt-get install -y libxkbcommon-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose