Skip to content

ci: install shaderc

ci: install shaderc #8

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Show env
run: |
uname -a
ldd --version
env
- name: Install
run: |
sudo apt update
sudo apt install -y libinput-dev libpango1.0-dev libudev-dev libxkbcommon-dev
curl https://sh.rustup.rs -sSf | sh -s -- -y
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Fixup opt levels
run: |
sed -i 's/opt-level = 3/opt-level = 0/' Cargo.toml
cat Cargo.toml
- name: Build
run: cargo build --timings
- name: Archive cargo-timings
uses: actions/upload-artifact@v4
with:
name: cargo-timings
path: |
target/cargo-timings