Skip to content

Commit 421a7ca

Browse files
ndregodfiru
authored andcommitted
wheel.yaml: No warning as error during compile
1 parent 120393e commit 421a7ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/wheel.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
working-directory: /workspace
3535
run: |
3636
python3 -m pip install cmake --upgrade
37-
./build.sh --build_wheel --config Release --parallel ${{ github.event_name == 'pull_request' && ' ' || '--skip_tests'}} --skip_submodule_sync --allow_running_as_root
37+
./build.sh --build_wheel --config Release --parallel ${{ github.event_name == 'pull_request' && ' ' || '--skip_tests'}} --skip_submodule_sync --allow_running_as_root --compile_no_warning_as_error
3838
wheel_path=$(find . -name '*.whl' | xargs readlink -f)
3939
echo "wheel_path=$wheel_path" >> $GITHUB_ENV
4040
- name: Upload Artifact
@@ -58,7 +58,7 @@ jobs:
5858
- name: Build ONNX Runtime wheel
5959
run: |
6060
python3 -m pip install wheel cmake numpy==1.24.4 packaging --upgrade
61-
./build.sh --build_wheel --config Release --parallel ${{ github.event_name == 'pull_request' && ' ' || '--skip_tests'}} --skip_submodule_sync --allow_running_as_root
61+
./build.sh --build_wheel --config Release --parallel ${{ github.event_name == 'pull_request' && ' ' || '--skip_tests'}} --skip_submodule_sync --allow_running_as_root --compile_no_warning_as_error
6262
wheel_path=$(find . -name '*.whl' | xargs readlink -f)
6363
echo "wheel_path=$wheel_path" >> $GITHUB_ENV
6464
- name: Upload Artifact
@@ -101,4 +101,4 @@ jobs:
101101
name: Release v${{ env.count }}
102102
files: |
103103
artifacts/ort-wheel-linux/*.whl
104-
artifacts/ort-wheel-mac/*.whl
104+
artifacts/ort-wheel-mac/*.whl

0 commit comments

Comments
 (0)