Update onnxruntime to version 1.26.0, add OpenVINO build flags #271
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: onnxruntime | |
| on: | |
| push: | |
| paths: | |
| - onnxruntime/** | |
| - .github/workflows/onnxruntime.yml | |
| pull_request: | |
| paths: | |
| - onnxruntime/** | |
| - .github/workflows/onnxruntime.yml | |
| workflow_dispatch: | |
| env: | |
| CI_DEPLOY_NEED_CACHE: 1 | |
| CI_DEPLOY_NEED_CUDA: 1 | |
| CI_DEPLOY_MODULE: ${{ github.workflow }} | |
| CI_DEPLOY_PLATFORM: ${{ github.job }} | |
| CI_DEPLOY_SETTINGS: ${{ secrets.CI_DEPLOY_SETTINGS }} | |
| CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }} | |
| CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }} | |
| STAGING_REPOSITORY: ${{ secrets.STAGING_REPOSITORY }} | |
| jobs: | |
| linux-arm64: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions | |
| linux-x86_64: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| ext: ["", -gpu] | |
| steps: | |
| - uses: bytedeco/cache@always | |
| with: | |
| key: ${{ github.workflow }}-${{ github.job }}${{ matrix.ext }}@${{ github.run_id }}-${{ github.run_attempt }} | |
| restore-keys: ${{ github.workflow }}-${{ github.job }}${{ matrix.ext }}@ | |
| path: /home/runner/.ccache | |
| - uses: bytedeco/javacpp-presets/.github/actions/deploy-ubuntu@actions | |
| timeout-minutes: 350 | |
| - name: Sleep 60 seconds to avoid cache errors | |
| run: sleep 60 | |
| if: always() | |
| macosx-arm64: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: bytedeco/javacpp-presets/.github/actions/deploy-macosx@actions | |
| macosx-x86_64: | |
| runs-on: macos-15-intel | |
| # strategy: | |
| # matrix: | |
| # ext: ["", -gpu] | |
| steps: | |
| - uses: bytedeco/javacpp-presets/.github/actions/deploy-macosx@actions | |
| windows-x86_64: | |
| runs-on: windows-2022 | |
| strategy: | |
| matrix: | |
| ext: ["", -gpu] | |
| steps: | |
| - uses: bytedeco/cache@always | |
| with: | |
| key: ${{ github.workflow }}-${{ github.job }}${{ matrix.ext }}@${{ github.run_id }}-${{ github.run_attempt }} | |
| restore-keys: ${{ github.workflow }}-${{ github.job }}${{ matrix.ext }}@ | |
| path: ~/ccache/? | |
| - uses: bytedeco/javacpp-presets/.github/actions/deploy-windows@actions | |
| timeout-minutes: 350 | |
| - name: Sleep 60 seconds to avoid cache errors | |
| run: sleep 60 | |
| if: always() | |
| platform: | |
| needs: [linux-arm64, linux-x86_64, macosx-arm64, macosx-x86_64, windows-x86_64] | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: bytedeco/javacpp-presets/.github/actions/redeploy@actions |