From 422af28e6b636baef22fd1650fdee28c41a0ff20 Mon Sep 17 00:00:00 2001 From: Ying Xiong Date: Thu, 19 Dec 2024 07:13:45 +0000 Subject: [PATCH] build and test with use_guidance --- .github/workflows/android-build.yml | 4 ++-- .github/workflows/linux-cpu-x64-build.yml | 4 ++-- .github/workflows/linux-cpu-x64-nightly-build.yml | 4 ++-- .github/workflows/mac-cpu-arm64-build.yml | 2 +- .github/workflows/win-cpu-arm64-build.yml | 4 ++-- .github/workflows/win-cpu-x64-build.yml | 4 ++-- .github/workflows/win-cuda-x64-build.yml | 4 ++-- .github/workflows/win-directml-x64-build.yml | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml index 580e7fa43..34b844359 100644 --- a/.github/workflows/android-build.yml +++ b/.github/workflows/android-build.yml @@ -83,12 +83,12 @@ jobs: run: | set -e -x rm -rf build - ./build.sh --android --android_api=27 --android_ndk_path=${ANDROID_NDK_LATEST_HOME} --config=RelWithDebInfo --android_abi=${{ env.ANDROID_ABI }} --parallel --build_java --update + ./build.sh --android --android_api=27 --android_ndk_path=${ANDROID_NDK_LATEST_HOME} --config=RelWithDebInfo --android_abi=${{ env.ANDROID_ABI }} --parallel --build_java --update --use_guidance - name: Run Android build run: | set -e -x - ./build.sh --android --android_api=27 --android_ndk_path=${ANDROID_NDK_LATEST_HOME} --config=RelWithDebInfo --android_abi=${{ env.ANDROID_ABI }} --parallel --build_java --build + ./build.sh --android --android_api=27 --android_ndk_path=${ANDROID_NDK_LATEST_HOME} --config=RelWithDebInfo --android_abi=${{ env.ANDROID_ABI }} --parallel --build_java --build --use_guidance - name: Enable KVM group perms so Android emulator can run run: | diff --git a/.github/workflows/linux-cpu-x64-build.yml b/.github/workflows/linux-cpu-x64-build.yml index 2ac09fcbf..3e41ba070 100644 --- a/.github/workflows/linux-cpu-x64-build.yml +++ b/.github/workflows/linux-cpu-x64-build.yml @@ -77,8 +77,8 @@ jobs: run: | set -e -x rm -rf build - cmake --preset linux_gcc_cpu_release - cmake --build --preset linux_gcc_cpu_release + cmake --preset linux_gcc_cpu_release -DUSE_GUIDANCE=ON + cmake --build --preset linux_gcc_cpu_release -DUSE_GUIDANCE=ON - name: Install the python wheel and test dependencies run: | diff --git a/.github/workflows/linux-cpu-x64-nightly-build.yml b/.github/workflows/linux-cpu-x64-nightly-build.yml index 1b8bbb151..c78e8bc8d 100644 --- a/.github/workflows/linux-cpu-x64-nightly-build.yml +++ b/.github/workflows/linux-cpu-x64-nightly-build.yml @@ -46,8 +46,8 @@ jobs: run: | set -e -x rm -rf build - cmake --preset linux_gcc_cpu_release - cmake --build --preset linux_gcc_cpu_release + cmake --preset linux_gcc_cpu_release -DUSE_GUIDANCE=ON + cmake --build --preset linux_gcc_cpu_release -DUSE_GUIDANCE=ON - name: Install the python wheel and test dependencies run: | diff --git a/.github/workflows/mac-cpu-arm64-build.yml b/.github/workflows/mac-cpu-arm64-build.yml index 937a6ca13..86fdde374 100644 --- a/.github/workflows/mac-cpu-arm64-build.yml +++ b/.github/workflows/mac-cpu-arm64-build.yml @@ -61,7 +61,7 @@ jobs: - name: Build with CMake run: | - cmake --build --preset macos_arm64_cpu_release --parallel + cmake --build --preset macos_arm64_cpu_release --parallel -DUSE_GUIDANCE=ON continue-on-error: false - name: Install the python wheel and test dependencies diff --git a/.github/workflows/win-cpu-arm64-build.yml b/.github/workflows/win-cpu-arm64-build.yml index e44f6c79a..fca5599cd 100644 --- a/.github/workflows/win-cpu-arm64-build.yml +++ b/.github/workflows/win-cpu-arm64-build.yml @@ -75,11 +75,11 @@ jobs: run: | python -m pip install wheel requests - cmake --preset windows_arm64_cpu_release + cmake --preset windows_arm64_cpu_release -DUSE_GUIDANCE=ON - name: Build with CMake run: | - cmake --build --preset windows_arm64_cpu_release --parallel + cmake --build --preset windows_arm64_cpu_release --parallel -DUSE_GUIDANCE=ON - name: Install the Python Wheel and Test Dependencies run: | diff --git a/.github/workflows/win-cpu-x64-build.yml b/.github/workflows/win-cpu-x64-build.yml index bc13020d4..0a801237c 100644 --- a/.github/workflows/win-cpu-x64-build.yml +++ b/.github/workflows/win-cpu-x64-build.yml @@ -85,11 +85,11 @@ jobs: - name: Configure CMake run: | - cmake --preset windows_x64_cpu_release + cmake --preset windows_x64_cpu_release -DUSE_GUIDANCE=ON - name: Build with CMake run: | - cmake --build --preset windows_x64_cpu_release --parallel + cmake --build --preset windows_x64_cpu_release --parallel -DUSE_GUIDANCE=ON - name: Install the python wheel and test dependencies run: | diff --git a/.github/workflows/win-cuda-x64-build.yml b/.github/workflows/win-cuda-x64-build.yml index 5769b1710..acc2ec95a 100644 --- a/.github/workflows/win-cuda-x64-build.yml +++ b/.github/workflows/win-cuda-x64-build.yml @@ -70,11 +70,11 @@ jobs: - name: Configure CMake run: | - cmake --preset windows_x64_cuda_release -T cuda=${{ env.cuda_dir }}\\v${{ env.cuda_version }} + cmake --preset windows_x64_cuda_release -T cuda=${{ env.cuda_dir }}\\v${{ env.cuda_version }} -DUSE_GUIDANCE=ON - name: Build with CMake run: | - cmake --build --preset windows_x64_cuda_release --parallel + cmake --build --preset windows_x64_cuda_release --parallel -DUSE_GUIDANCE=ON - name: Add CUDA to PATH run: | diff --git a/.github/workflows/win-directml-x64-build.yml b/.github/workflows/win-directml-x64-build.yml index 04ac024b5..37b213e8b 100644 --- a/.github/workflows/win-directml-x64-build.yml +++ b/.github/workflows/win-directml-x64-build.yml @@ -87,11 +87,11 @@ jobs: - name: Configure CMake run: | - cmake --preset windows_x64_directml_release -DTEST_PHI2=False + cmake --preset windows_x64_directml_release -DTEST_PHI2=False -DUSE_GUIDANCE=ON - name: Build with CMake run: | - cmake --build --preset windows_x64_directml_release --parallel + cmake --build --preset windows_x64_directml_release --parallel -DUSE_GUIDANCE=ON - name: Install the Python Wheel and Test Dependencies run: |