Build C++ #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build C++ | |
on: | |
workflow_dispatch: {} | |
jobs: | |
build-windows: | |
name: Build for Windows x64 | |
runs-on: windows-latest | |
steps: | |
- name: Clone whisper.unity | |
uses: actions/checkout@v3 | |
with: | |
path: whisper-unity | |
- name: Clone whisper.cpp | |
uses: actions/checkout@v3 | |
with: | |
repository: ggerganov/whisper.cpp | |
ref: v1.2.1 | |
path: whisper-cpp | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v1 | |
- name: Run build script | |
run: | | |
cd whisper-unity | |
.\build_cpp.bat ..\whisper-cpp\ | |
- name: Upload results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: windows | |
path: ${{ github.workspace }}/whisper-unity/Packages/com.whisper.unity/Plugins/Windows/ | |
if-no-files-found: error | |
build-linux: | |
name: Build for Linux | |
runs-on: ubuntu-latest | |
container: ubuntu:18.04 | |
steps: | |
- name: Get glibc | |
run: ldd --version | |