Skip to content

Migration to iced 0.10 #74

Migration to iced 0.10

Migration to iced 0.10 #74

Workflow file for this run

name: Test and Build
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable]
steps:
- uses: actions/checkout@master
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
components: rustfmt
override: true
- name: Install dependencies
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get -qq update
sudo apt-get install -y libxkbcommon-dev
fi
shell: bash
- name: Verify versions
run: rustc --version && rustup --version && cargo --version
- name: Cargo Build
run: cargo build --verbose
- name: Build example
run: cargo build --examples
continue-on-error: true
- name: Run tests
run: cargo test --verbose
- name: Check code style
run: cargo fmt -- --check