Skip to content

Commit fb3f1f4

Browse files
authored
Merge pull request #663 from lukaszstolarczuk/add-extra-runners
[CI] enable new runners for some of jobs
2 parents 70b5d21 + 6619825 commit fb3f1f4

File tree

7 files changed

+15
-10
lines changed

7 files changed

+15
-10
lines changed

.github/workflows/bandit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
matrix:
2121
os: [ubuntu-latest, windows-latest]
22-
runs-on: ${{matrix.os}}
22+
runs-on: ${{ (matrix.os == 'ubuntu-latest' && github.repository_owner == 'oneapi-src') && 'intel-ubuntu-22.04' || matrix.os }}
2323

2424
steps:
2525
- name: Checkout repository

.github/workflows/docs.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
jobs:
1717
build:
1818
name: Build docs
19-
runs-on: ubuntu-latest
19+
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || 'ubuntu-latest' }}
2020

2121
steps:
2222
- name: Checkout repository
@@ -32,6 +32,9 @@ jobs:
3232
- name: Install pip requirements
3333
run: python3 -m pip install -r third_party/requirements.txt
3434

35+
- name: Setup PATH for python
36+
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
37+
3538
- name: Build the documentation
3639
working-directory: scripts
3740
run: python3 generate_docs.py
@@ -53,7 +56,7 @@ jobs:
5356
name: github-pages
5457
url: ${{ steps.deployment.outputs.page_url }}
5558

56-
runs-on: ubuntu-latest
59+
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || 'ubuntu-latest' }}
5760

5861
steps:
5962
- name: Deploy the documentation to GitHub Pages

.github/workflows/fast.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
build_tests: 'ON'
5555
extra_build_options: '-DCMAKE_BUILD_TYPE=Release'
5656
simple_cmake: 'ON'
57-
runs-on: ${{matrix.os}}
57+
runs-on: ${{ (matrix.os == 'ubuntu-latest' && github.repository_owner == 'oneapi-src') && 'intel-ubuntu-22.04' || matrix.os }}
5858

5959
steps:
6060
- name: Checkout repository

.github/workflows/pr_push.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717
jobs:
1818
CodeStyle:
1919
name: Coding style
20-
runs-on: ubuntu-latest
20+
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || 'ubuntu-latest' }}
2121

2222
steps:
2323
- name: Checkout repository
@@ -52,7 +52,7 @@ jobs:
5252

5353
DocsBuild:
5454
name: Build docs
55-
runs-on: ubuntu-latest
55+
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || 'ubuntu-latest' }}
5656

5757
steps:
5858
- name: Checkout repository
@@ -68,6 +68,9 @@ jobs:
6868
- name: Install pip requirements
6969
run: python3 -m pip install -r third_party/requirements.txt
7070

71+
- name: Setup PATH for python
72+
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
73+
7174
- name: Build the documentation
7275
working-directory: scripts
7376
run: python3 generate_docs.py

.github/workflows/proxy_lib.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
os: ['ubuntu-22.04']
2019
build_type: [Release, Debug]
2120
compiler: [{c: gcc, cxx: g++}]
2221
proxy_lib_pool: ['SCALABLE', 'JEMALLOC']
23-
runs-on: ${{matrix.os}}
22+
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || 'ubuntu-22.04' }}
2423

2524
steps:
2625
- name: Checkout

.github/workflows/spellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
jobs:
1010
analyze:
1111
name: Run spell check
12-
runs-on: ubuntu-latest
12+
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || 'ubuntu-latest' }}
1313

1414
steps:
1515
- name: Checkout

.github/workflows/trivy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ permissions:
2424
jobs:
2525
trivy:
2626
name: Trivy
27-
runs-on: ubuntu-latest
27+
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || 'ubuntu-latest' }}
2828
permissions:
2929
security-events: write
3030

0 commit comments

Comments
 (0)