Skip to content

Commit

Permalink
ci: build with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
talklittle committed Aug 27, 2021
1 parent c39c6d4 commit 36e4266
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: Swatinem/rust-cache@v1
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y libnautilus-extension-dev libgtk-3-0
- name: Build release
run: make clean compile dist
- name: Create .deb
run: |
cargo install cargo-deb
cargo deb --no-build
- name: GitHub Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
tmsu-nautilus-*/libtmsu-nautilus.so
target/debian/tmsu-nautilus*.deb

0 comments on commit 36e4266

Please sign in to comment.