Skip to content

Commit

Permalink
maybes
Browse files Browse the repository at this point in the history
  • Loading branch information
aciddelgado committed Dec 12, 2024
1 parent 1fac9a1 commit 1d8081e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-gpu-x64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
bash -c " \
${{ env.PYTHON_EXECUTABLE }} -m pip install requests && \
${{ env.PYTHON_EXECUTABLE }} -m pip install wheel && \
${{ env.PYTHON_EXECUTABLE }} build.py --use_cuda --cuda_home=/usr/local/cuda-12.2 --parallel --config=Debug --cmake_extra_defines=\"MANYLINUX=ON\""
${{ env.PYTHON_EXECUTABLE }} build.py --use_cuda --cuda_home=/usr/local/cuda-12.2 --parallel --config=Debug"
- name: Use Dummy HuggingFace Token
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mac-cpu-arm64-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,18 @@ jobs:
run: |
export ORTGENAI_LOG_ORT_LIB=1
cd test/csharp
dotnet test /p:Configuration=Release /p:NativeBuildOutputDir="../../build/MacOS/Release" --verbosity normal
dotnet test /p:Configuration=Release /p:NativeBuildOutputDir="../../build/MacOS/Release/Release" --verbosity normal
- name: Build the Java API and Run the Java Tests
run: |
set -e -x
source genai-macos-venv/bin/activate
python3 build.py --config=Release --build_java --parallel --cmake_generator "Unix Makefiles"
dotnet test /p:Configuration=Release /p:NativeBuildOutputDir="../../build/MacOS/Release" --verbosity normal
dotnet test /p:Configuration=Release /p:NativeBuildOutputDir="../../build/MacOS/Release/Release" --verbosity normal
- name: Run tests
run: |
set -e -x
export ORTGENAI_LOG_ORT_LIB=1
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$GITHUB_WORKSPACE/build/MacOS/Release
./build/MacOS/Release/unit_tests
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$GITHUB_WORKSPACE/build/MacOS/Release/Release
./build/MacOS/Release/Release/unit_tests

0 comments on commit 1d8081e

Please sign in to comment.