ki18n-rs/.github/workflows/rust.yml
Ayush Singh 872e02ae6d Fix Github Action
Install Qt dependencies.
2021-11-01 19:01:15 +05:30

25 lines
597 B
YAML

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
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