mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-11 00:49:31 +00:00
Move Linux Github actions to a dedicated pool (#22566)
### Description Move Linux Github actions to a dedicated pool. Currently the "orttraining-linux-ci-pipeline " is too slow. ### Motivation and Context To speed up the running.
This commit is contained in:
parent
d9ca84ef96
commit
a910cedf73
16 changed files with 31 additions and 24 deletions
2
.github/workflows/cffconvert.yml
vendored
2
.github/workflows/cffconvert.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
|||
jobs:
|
||||
validate:
|
||||
name: "validate"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
steps:
|
||||
- name: Check out a copy of the repository
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
7
.github/workflows/codeql.yml
vendored
7
.github/workflows/codeql.yml
vendored
|
|
@ -18,7 +18,7 @@ on:
|
|||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
|
|
@ -55,6 +55,11 @@ jobs:
|
|||
java-version: '11'
|
||||
distribution: 'microsoft'
|
||||
|
||||
- if: ${{ matrix.language == 'javascript' }}
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- if: ${{ matrix.language != 'cpp' }}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ on: [push, pull_request]
|
|||
jobs:
|
||||
validation:
|
||||
name: "Validation"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: gradle/actions/wrapper-validation@v4
|
||||
|
|
|
|||
2
.github/workflows/labeler.yml
vendored
2
.github/workflows/labeler.yml
vendored
|
|
@ -8,7 +8,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
steps:
|
||||
- uses: github/issue-labeler@v3.4
|
||||
with:
|
||||
|
|
|
|||
7
.github/workflows/lint.yml
vendored
7
.github/workflows/lint.yml
vendored
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
lint-python-format:
|
||||
# Required workflow
|
||||
name: Python format
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Python
|
||||
|
|
@ -114,9 +114,12 @@ jobs:
|
|||
|
||||
lint-js:
|
||||
name: Lint JavaScript
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
- uses: reviewdog/action-eslint@v1
|
||||
with:
|
||||
reporter: github-pr-check
|
||||
|
|
|
|||
4
.github/workflows/linux_training.yml
vendored
4
.github/workflows/linux_training.yml
vendored
|
|
@ -12,7 +12,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
orttraining-linux-ci-pipeline:
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
python3 -m pip install -r tools/ci_build/github/linux/python/requirements.txt
|
||||
python3 -m pip install --user -r tools/ci_build/github/linux/python/requirements.txt
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
|
|
|
|||
13
.github/workflows/pr_checks.yml
vendored
13
.github/workflows/pr_checks.yml
vendored
|
|
@ -19,7 +19,7 @@ concurrency:
|
|||
jobs:
|
||||
auto-apply-fixes:
|
||||
name: Suggest fixes
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
|
@ -34,14 +34,13 @@ jobs:
|
|||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt
|
||||
- name: Install dependencies
|
||||
- name: Install dependencies and run lintrunner on all files
|
||||
run: |
|
||||
python -m pip install -r requirements-dev.txt
|
||||
python -m pip install lintrunner lintrunner-adapters
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
set -e
|
||||
python -m pip install --user -r requirements-dev.txt
|
||||
python -m pip install --user lintrunner lintrunner-adapters
|
||||
lintrunner init
|
||||
- name: Run lintrunner on all files
|
||||
run: |
|
||||
set +e
|
||||
lintrunner f --all-files -v
|
||||
exit 0
|
||||
- uses: parkerbxyz/suggest-changes@v1
|
||||
|
|
|
|||
2
.github/workflows/publish-c-apidocs.yml
vendored
2
.github/workflows/publish-c-apidocs.yml
vendored
|
|
@ -22,7 +22,7 @@ permissions:
|
|||
jobs:
|
||||
build:
|
||||
name: Generate C/C++ API docs
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install doxygen and dependencies
|
||||
|
|
|
|||
2
.github/workflows/publish-csharp-apidocs.yml
vendored
2
.github/workflows/publish-csharp-apidocs.yml
vendored
|
|
@ -20,7 +20,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
env:
|
||||
DOCFXVERSION: 2.62.2
|
||||
steps:
|
||||
|
|
|
|||
2
.github/workflows/publish-gh-pages.yml
vendored
2
.github/workflows/publish-gh-pages.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
|||
|
||||
jobs:
|
||||
placeholder:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
steps:
|
||||
- name: Placeholder step to have workflow included in the GitHub web UI
|
||||
run: |
|
||||
|
|
|
|||
2
.github/workflows/publish-java-apidocs.yml
vendored
2
.github/workflows/publish-java-apidocs.yml
vendored
|
|
@ -21,7 +21,7 @@ permissions:
|
|||
jobs:
|
||||
build:
|
||||
name: Generate Java docs
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up JDK 11
|
||||
|
|
|
|||
2
.github/workflows/publish-js-apidocs.yml
vendored
2
.github/workflows/publish-js-apidocs.yml
vendored
|
|
@ -21,7 +21,7 @@ permissions:
|
|||
jobs:
|
||||
build:
|
||||
name: Generate JS API docs
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Node.js
|
||||
|
|
|
|||
2
.github/workflows/publish-python-apidocs.yml
vendored
2
.github/workflows/publish-python-apidocs.yml
vendored
|
|
@ -22,7 +22,7 @@ permissions:
|
|||
jobs:
|
||||
build:
|
||||
name: Generate Python API docs
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install tools
|
||||
|
|
|
|||
2
.github/workflows/skip-doc-change.yml.j2
vendored
2
.github/workflows/skip-doc-change.yml.j2
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
{%- for name in job_names %}
|
||||
job{{ loop.index }}:
|
||||
name: {{ name }}
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
steps:
|
||||
- run: 'echo "No build required, only documentation changed"'
|
||||
{% endfor %}
|
||||
|
|
|
|||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
|||
|
||||
jobs:
|
||||
close-stale-issues:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
|
|
|||
2
.github/workflows/title-only-labeler.yml
vendored
2
.github/workflows/title-only-labeler.yml
vendored
|
|
@ -8,7 +8,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-Ubuntu2204-AMD-CPU"]
|
||||
steps:
|
||||
- uses: github/issue-labeler@v3.4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue