Skip to content

Update branch

Update branch #237

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_INCREMENTAL: false
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
RUST_BACKTRACE: full
MSRV: 1.75
RUSTDOCFLAGS: -Dwarnings
CACHE_SUFFIX: c
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --all-features --profile ci --verbose
- name: Clippy
run: cargo clippy --all-features --profile ci
- name: Install vulkan
run: |
set -e
sudo apt-get update -y -qq
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list https://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list
sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt-get update
sudo apt install -y libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev vulkan-sdk mesa-vulkan-drivers
- name: Dunge tests
run: cargo test --profile ci --verbose --package dunge
- name: All tests
run: cargo test --profile ci --verbose