mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-03 17:47:40 +03:00
ci: Add GH action to build
This commit is contained in:
parent
b5496f70f6
commit
9bb0dd3c4d
23
rust-bindings/rust/.github/workflows/rust.yml
vendored
Normal file
23
rust-bindings/rust/.github/workflows/rust.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: Rust
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
container: quay.io/cgwalters/fcos-buildroot
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
Loading…
x
Reference in New Issue
Block a user