From e983a6a033d69f739a33e36a2822858e52bb9814 Mon Sep 17 00:00:00 2001 From: arizhih Date: Mon, 14 Oct 2024 14:58:58 +0200 Subject: [PATCH] Enable OS-independent features, build and run example. --- .github/workflows/pr.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 99aab40..fba5cd0 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -30,8 +30,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - rust-version: [stable, nightly] + os: [ ubuntu-latest, windows-latest, macos-latest ] + rust-version: [ stable, nightly ] runs-on: ${{ matrix.os }} steps: - name: Check out code into the proper directory @@ -55,8 +55,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - rust-version: [stable, nightly] + os: [ ubuntu-latest, windows-latest, macos-latest ] + rust-version: [ stable, nightly ] runs-on: ${{ matrix.os }} steps: - name: Check out code into the proper directory @@ -73,4 +73,4 @@ jobs: toolchain: ${{ matrix.rust-version }} - 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