Skip to content

Commit

Permalink
whisper-cli becomes whisperd
Browse files Browse the repository at this point in the history
  • Loading branch information
tiero committed Oct 26, 2023
1 parent ac1a557 commit edf62bd
Show file tree
Hide file tree
Showing 6 changed files with 445 additions and 474 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ jobs:
- name: Build
run: cargo build --release

- name: Publish Crate
uses: katyo/publish-crates@v2
with:
args: --allow-dirty
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- name: Install cargo-deb
run: cargo install cargo-deb
continue-on-error: true
Expand All @@ -78,10 +72,16 @@ jobs:
with:
name: output-artifact
path: outputs

- name: Publish Crate
uses: katyo/publish-crates@v2
with:
args: --allow-dirty
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

macos:
name: Build for Mac
runs-on: macos-11
runs-on: macos-latest-large
needs: [version_bump]

steps:
Expand All @@ -105,18 +105,9 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-

- name: Add aarch64 target
run: rustup target add aarch64-apple-darwin

- name: Build whisper_rs_sys for Apple Silicon
run: cargo build --release --target=aarch64-apple-darwin -p whisper-rs-sys

- name: Build for Mac with Intel
- name: Build for Mac with Silicon
run: cargo build --release

- name: Build for Apple Silicon
run: cargo build --release --target=aarch64-apple-darwin

- name: "Move to outputs/ folder"
run: |
mkdir outputs
Expand Down
Loading

0 comments on commit edf62bd

Please sign in to comment.