Enable OS-independent features, build and run example.
This commit is contained in:
parent
21f236d1da
commit
e983a6a033
1 changed files with 5 additions and 5 deletions
10
.github/workflows/pr.yml
vendored
10
.github/workflows/pr.yml
vendored
|
|
@ -30,8 +30,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
||||||
rust-version: [stable, nightly]
|
rust-version: [ stable, nightly ]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the proper directory
|
- name: Check out code into the proper directory
|
||||||
|
|
@ -55,8 +55,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
||||||
rust-version: [stable, nightly]
|
rust-version: [ stable, nightly ]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code into the proper directory
|
- name: Check out code into the proper directory
|
||||||
|
|
@ -73,4 +73,4 @@ jobs:
|
||||||
toolchain: ${{ matrix.rust-version }}
|
toolchain: ${{ matrix.rust-version }}
|
||||||
|
|
||||||
- name: Check build
|
- name: Check build
|
||||||
run: cargo build --verbose
|
run: cargo build -F whisper-cpp-log,whisper-cpp-tracing --verbose && cargo run --example basic_use -F whisper-cpp-log,whisper-cpp-tracing
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue