Skip to content

Commit

Permalink
Add support for github workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Guorui Yu <yuguorui96@gmail.com>
  • Loading branch information
yuguorui committed Jan 2, 2023
1 parent 1d8516b commit c72c2e9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on: [push]

name: CI

jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-unknown-linux-musl
- name: make
run: |
make release=1 release
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: rfor-*.tar.gz

0 comments on commit c72c2e9

Please sign in to comment.