Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/android-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ permissions:
on:
workflow_dispatch:
workflow_call:
inputs:
BuildConfig:
required: true
type: string
default: 'Release'

jobs:
native-build:
Expand All @@ -21,7 +26,7 @@ jobs:
ndk-version: r25c

- name: Run android build
run: make android
run: make android BUILD_TYPE=${{ inputs.BuildConfig }}

- name: Upload Android Build Artifacts
uses: actions/upload-artifact@v4
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
description: 'Enable CUDA runtimes libraries build.'
required: true
default: 'false'
BuildConfig:
description: 'The configuration to be used.'
required: true
default: 'Release'
schedule:
- cron: '40 17 * * 0'

Expand All @@ -27,47 +31,75 @@ jobs:

android:
uses: ./.github/workflows/android-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

macos:
uses: ./.github/workflows/macos-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

windows:
uses: ./.github/workflows/windows-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

windows-no-avx:
uses: ./.github/workflows/windows-noavx-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

wasm:
uses: ./.github/workflows/wasm-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

linux:
uses: ./.github/workflows/linux-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

linux-no-avx:
uses: ./.github/workflows/linux-noavx-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

linux-vulkan:
uses: ./.github/workflows/linux-vulkan-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

windows-cuda:
if: ${{ inputs.BuildCuda == 'true' }}
uses: ./.github/workflows/windows-cuda-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

windows-vulkan:
uses: ./.github/workflows/windows-vulkan-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

windows-openvino:
uses: ./.github/workflows/windows-openvino-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

linux-cuda:
if: ${{ inputs.BuildCuda == 'true' }}
uses: ./.github/workflows/linux-cuda-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

linux-openvino:
uses: ./.github/workflows/linux-openvino-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

macos-coreml:
uses: ./.github/workflows/macos-coreml-native-build.yml
with:
BuildConfig: ${{ inputs.BuildConfig || 'Release'}}

dotnet-noavx:
needs:
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/linux-cuda-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ permissions:
on:
workflow_dispatch:
workflow_call:
inputs:
BuildConfig:
required: true
type: string
default: 'Release'

jobs:
native-build:
Expand All @@ -27,8 +32,9 @@ jobs:
with:
cuda: "12.1.0"

- name: Run linux
run: make linux_cuda
- name: Run linux-cuda
run: |
make linux_cuda BUILD_TYPE=${{ inputs.BuildConfig }}

- name: Remove CUDA installer
run: rm -rf cuda_installer-*
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/linux-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ permissions:
on:
workflow_dispatch:
workflow_call:
inputs:
BuildConfig:
required: true
type: string
default: 'Release'

jobs:
native-build:
Expand All @@ -23,7 +28,8 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y gcc-arm-linux-gnueabihf && sudo apt-get install -y g++-arm-linux-gnueabihf

- name: Run linux
run: make linux
run: |
make linux BUILD_TYPE=${{ inputs.BuildConfig }}

- name: Upload Linux Build Artifacts
uses: actions/upload-artifact@v4
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/linux-noavx-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ permissions:
on:
workflow_dispatch:
workflow_call:
inputs:
BuildConfig:
required: true
type: string
default: 'Release'

jobs:
native-build:
Expand All @@ -22,8 +27,9 @@ jobs:
- name: Install gcc-arm-linux-gnueabihf
run: sudo apt-get update && sudo apt-get install -y gcc-arm-linux-gnueabihf && sudo apt-get install -y g++-arm-linux-gnueabihf

- name: Run linux_noavx
run: make linux_noavx
- name: Run linux-noavx
run: |
make linux_noavx BUILD_TYPE=${{ inputs.BuildConfig }}

- name: Upload Linux Build Artifacts
uses: actions/upload-artifact@v4
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/linux-openvino-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ permissions:
on:
workflow_dispatch:
workflow_call:
inputs:
BuildConfig:
required: true
type: string
default: 'Release'

jobs:
native-build:
Expand All @@ -22,13 +27,13 @@ jobs:
- name: Install gcc-arm-linux-gnueabihf
run: sudo apt-get update && sudo apt-get install -y gcc-arm-linux-gnueabihf && sudo apt-get install -y g++-arm-linux-gnueabihf

- name: Run linux
- name: Run linux-openvino
run: |
wget https://storage.openvinotoolkit.org/repositories/openvino/packages/2024.4/linux/l_openvino_toolkit_ubuntu20_2024.4.0.16579.c3152d32c9c_x86_64.tgz -O openvino.tgz
mkdir openvino
tar -xvf openvino.tgz -C openvino
source openvino/l_openvino_toolkit_ubuntu20_2024.4.0.16579.c3152d32c9c_x86_64/setupvars.sh
make linux_x64_openvino
make linux_x64_openvino BUILD_TYPE=${{ inputs.BuildConfig }}

- name: Upload Linux OpenVino Build Artifacts
uses: actions/upload-artifact@v4
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/linux-vulkan-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ permissions:
on:
workflow_dispatch:
workflow_call:
inputs:
BuildConfig:
required: true
type: string
default: 'Release'

jobs:
native-build:
Expand Down Expand Up @@ -38,7 +43,7 @@ jobs:

- name: Run linux
run: |
make linux_vulkan
make linux_vulkan BUILD_TYPE=${{ inputs.BuildConfig }}

- name: Upload Linux Vulkan Build Artifacts
uses: actions/upload-artifact@v4
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/macos-coreml-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ permissions:
on:
workflow_dispatch:
workflow_call:
inputs:
BuildConfig:
required: true
type: string
default: 'Release'

jobs:
intel-native-build:
Expand All @@ -17,7 +22,8 @@ jobs:
submodules: true

- name: Run apple coreml build for x64
run: make apple_coreml_x64
run: |
make apple_coreml_x64 BUILD_TYPE=${{ inputs.BuildConfig }}

- name: Upload Mac Intel Build Artifacts
uses: actions/upload-artifact@v4
Expand All @@ -37,7 +43,8 @@ jobs:
submodules: true

- name: Run apple coreml build for arm
run: make apple_coreml_arm
run: |
make apple_coreml_arm BUILD_TYPE=${{ inputs.BuildConfig }}

- name: Upload CoreML Mac Arm Build Artifacts
uses: actions/upload-artifact@v4
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/macos-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ permissions:
on:
workflow_dispatch:
workflow_call:
inputs:
BuildConfig:
required: true
type: string
default: 'Release'

jobs:
intel-native-build:
Expand All @@ -16,8 +21,9 @@ jobs:
with:
submodules: true

- name: Run apple build for x64
run: make apple_x64
- name: Run macos build for x64
run: |
make apple_x64 BUILD_TYPE=${{ inputs.BuildConfig }}

- name: Upload Mac Intel Build Artifacts
uses: actions/upload-artifact@v4
Expand All @@ -37,7 +43,8 @@ jobs:
submodules: true

- name: Run apple build for arm
run: make apple_arm
run: |
make apple_arm BUILD_TYPE=${{ inputs.BuildConfig }}

- name: Upload Mac Arm Build Artifacts
uses: actions/upload-artifact@v4
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/wasm-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ permissions:
on:
workflow_dispatch:
workflow_call:
inputs:
BuildConfig:
required: true
type: string
default: 'Release'

jobs:
native-build:
Expand All @@ -16,11 +21,17 @@ jobs:
with:
submodules: true

- name: Install aarch64-linux-gnu-gcc
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu && sudo apt-get install -y g++-aarch64-linux-gnu

- name: Install gcc-arm-linux-gnueabihf
run: sudo apt-get update && sudo apt-get install -y gcc-arm-linux-gnueabihf && sudo apt-get install -y g++-arm-linux-gnueabihf

- name: Install Emscripten
uses: mymindstorm/setup-emsdk@6ab9eb1bda2574c4ddb79809fc9247783eaf9021

- name: Run wasm build
run: make wasm
run: make wasm BUILD_TYPE=${{ inputs.BuildConfig }}

- name: Remove Emscripten
run: rm -rf emsdk*
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/windows-cuda-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ permissions:
on:
workflow_dispatch:
workflow_call:
inputs:
BuildConfig:
required: true
type: string
default: 'Release'

jobs:
native-build:
Expand All @@ -32,7 +37,7 @@ jobs:
- name: Run Build
run: |
Import-Module ./windows-scripts.ps1
BuildWindows -Arch "x64" -Cuda $true -Configuration "Release";
BuildWindows -Arch "x64" -Cuda $true -Configuration ${{ inputs.BuildConfig }}
shell: pwsh

- name: Remove CUDA installer
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/windows-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ permissions:
on:
workflow_dispatch:
workflow_call:
inputs:
BuildConfig:
required: true
type: string
default: 'Release'

jobs:
intel-native-build:
Expand All @@ -25,7 +30,7 @@ jobs:
- name: Run Build
run: |
Import-Module ./windows-scripts.ps1
BuildWindowsIntel
BuildWindowsIntel -Configuration ${{ inputs.BuildConfig }}
shell: pwsh

- name: Upload Windows Build Artifacts
Expand All @@ -51,7 +56,7 @@ jobs:
- name: Run Build
run: |
Import-Module ./windows-scripts.ps1
BuildWindowsArm
BuildWindowsArm -Configuration ${{ inputs.BuildConfig }}
shell: pwsh

- name: Upload Windows Build Artifacts
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/windows-noavx-native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ permissions:
on:
workflow_dispatch:
workflow_call:
inputs:
BuildConfig:
required: true
type: string
default: 'Release'

jobs:
native-build:
Expand All @@ -24,8 +29,8 @@ jobs:
- name: Run Build
run: |
Import-Module ./windows-scripts.ps1
BuildWindows -Arch "x64" -Configuration "Release" -NoAvx $true
BuildWindows -Arch "x86" -Configuration "Release" -NoAvx $true
BuildWindows -Arch "x64" -Configuration ${{ inputs.BuildConfig }} -NoAvx $true
BuildWindows -Arch "x86" -Configuration ${{ inputs.BuildConfig }} -NoAvx $true
shell: pwsh

- name: Upload Windows NoAvx Build Artifacts
Expand Down
Loading