Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro Hanea committed Oct 5, 2024
1 parent 3e63a53 commit e580646
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/android-native-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ jobs:
ref: ${{ github.head_ref }}

- name: Install Android NDK
if: steps.check_submodule.outputs.trigger_build == 'true'
uses: nttld/[email protected]
with:
ndk-version: r25c

- name: Run android build
if: steps.check_submodule.outputs.trigger_build == 'true'
run: make android

- name: Upload Android Build Artifacts
uses: actions/upload-artifact@v3
with:
name: android-build
path: 'Whisper.net.Run*/android-*/*'
5 changes: 5 additions & 0 deletions .github/workflows/linux-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,8 @@ jobs:
if: steps.check_submodule.outputs.trigger_build == 'true'
run: rm -rf cuda_installer-*

- name: Upload Linux Build Artifacts
uses: actions/upload-artifact@v3
with:
name: linux-build
path: 'Whisper.net.Run*/linux-*/*'
8 changes: 5 additions & 3 deletions .github/workflows/wasm-native-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ jobs:
ref: ${{ github.head_ref }}

- name: Install Emscripten
if: steps.check_submodule.outputs.trigger_build == 'true'
uses: mymindstorm/setup-emsdk@v13

- name: Run wasm build
if: steps.check_submodule.outputs.trigger_build == 'true'
run: make wasm

- name: Remove Emscripten
if: steps.check_submodule.outputs.trigger_build == 'true'
run: rm -rf emsdk*

- name: Upload Wasm Build Artifacts
uses: actions/upload-artifact@v3
with:
name: wasm-build
path: 'Whisper.net.Run*/browser-wasm/*'
4 changes: 2 additions & 2 deletions .github/workflows/windows-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Run Build
run: |
Import-Module ./windows-scripts.ps1
BuildWindowsIntel
BuildWindowsAll
shell: pwsh

- name: Remove CUDA installer
Expand All @@ -43,4 +43,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: windows-build
path: 'Whisper.net.Runtime.*/win-*/*'
path: 'Whisper.net.Run*/win-*/*'

0 comments on commit e580646

Please sign in to comment.