Skip to content

feat: Localize Numbers #14

feat: Localize Numbers

feat: Localize Numbers #14

Workflow file for this run

# Based on https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
on:
push:
branches: [main]
pull_request:
branches: [main]
name: Continuous Integration
jobs:
check:
name: Run cargo check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install Linux dependencies
run: sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
- name: Run cargo check
run: cargo check --all-targets
docs:
name: Run cargo doc
env:
RUSTDOCFLAGS: -D warnings
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install Linux dependencies
run: sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
- name: Run cargo doc
run: cargo doc --no-deps
build_examples:
name: Build examples
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install Linux dependencies
run: sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
- name: Build examples
run: cargo build --examples
# test:
# name: Tests
# strategy:
# # Tests are most likely to have OS-specific behavior
# matrix:
# os: [ubuntu-latest, windows-latest, macOS-latest]
# runs-on: ${{ matrix.os }}
# steps:
# - name: Checkout sources
# uses: actions/checkout@v3
# - name: Install stable toolchain
# uses: dtolnay/rust-toolchain@stable
# - name: Install Linux dependencies
# if: ${{ matrix.os == 'ubuntu-latest' }}
# run: sudo apt-get install --no-install-recommends libwayland-dev libxkbcommon-dev
# - name: Run cargo test
# run: cargo test