Skip to content

Commit

Permalink
Build binary
Browse files Browse the repository at this point in the history
  • Loading branch information
dfaust committed Nov 24, 2024
1 parent 74db42f commit 152ffc5
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ env:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand All @@ -22,3 +20,16 @@ jobs:
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt install -y libdbus-1-dev pkg-config
- name: Compile and release
uses: rust-build/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: x86_64-unknown-linux-musl
EXTRA_FILES: "README.md LICENSE"

0 comments on commit 152ffc5

Please sign in to comment.