Skip to content

Commit

Permalink
build and test with use_guidance
Browse files Browse the repository at this point in the history
  • Loading branch information
Taka152 committed Dec 19, 2024
1 parent c644b26 commit 422af28
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux-cpu-x64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux-cpu-x64-nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mac-cpu-arm64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/win-cpu-arm64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/win-cpu-x64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/win-cuda-x64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/win-directml-x64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 422af28

Please sign in to comment.