Skip to content

Commit

Permalink
Adding CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
orual authored Mar 3, 2024
1 parent cfb8790 commit 9fd1485
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Rust

on:
#push:
# branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
strategy:
matrix:
target: [armv7-unknown-linux-gnueabihf, aarch64-unknown-linux-gnu]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build
uses: houseabsolute/[email protected]
with:
command: build
target: ${{matrix.target}}
args: "--locked"
- name: Run tests
uses: houseabsolute/[email protected]
with:
command: test
target: ${{matrix.target}}
args: "--locked"
- uses: Swatinem/rust-cache@v2

0 comments on commit 9fd1485

Please sign in to comment.