ki18n-rs/.github/workflows/rust.yml
2021-11-01 21:35:16 +05:30

25 lines
637 B
YAML

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
env:
QT_QPA_PLATFORM: offscreen
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencie
run: sudo apt install build-essential extra-cmake-modules cmake qtbase5-dev qtdeclarative5-dev libqt5svg5-dev qtquickcontrols2-5-dev qml-module-org-kde-kirigami2 kirigami2-dev libkf5i18n-dev gettext libkf5coreaddons-dev qml-module-qtquick-layouts
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose