Skip to content

Commit

Permalink
meta: Add github action to auto-build and release new tagged versions
Browse files Browse the repository at this point in the history
  • Loading branch information
awendland committed Apr 18, 2020
1 parent 67696b5 commit 200c98e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ARMv7 build

on:
push:
tags:
- '*'

jobs:
linux_arm7:
name: Linux ARMv7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: armv7-unknown-linux-gnueabihf
override: true
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --release --target armv7-unknown-linux-gnueabihf
- uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
artifacts: "./target/*/release/rpi-ds18b20-rust"

0 comments on commit 200c98e

Please # to comment.