File tree Expand file tree Collapse file tree 7 files changed +15
-10
lines changed Expand file tree Collapse file tree 7 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 19
19
strategy :
20
20
matrix :
21
21
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 }}
23
23
24
24
steps :
25
25
- name : Checkout repository
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ permissions:
16
16
jobs :
17
17
build :
18
18
name : Build docs
19
- runs-on : ubuntu-latest
19
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
20
20
21
21
steps :
22
22
- name : Checkout repository
32
32
- name : Install pip requirements
33
33
run : python3 -m pip install -r third_party/requirements.txt
34
34
35
+ - name : Setup PATH for python
36
+ run : echo "$HOME/.local/bin" >> $GITHUB_PATH
37
+
35
38
- name : Build the documentation
36
39
working-directory : scripts
37
40
run : python3 generate_docs.py
53
56
name : github-pages
54
57
url : ${{ steps.deployment.outputs.page_url }}
55
58
56
- runs-on : ubuntu-latest
59
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
57
60
58
61
steps :
59
62
- name : Deploy the documentation to GitHub Pages
Original file line number Diff line number Diff line change 54
54
build_tests : ' ON'
55
55
extra_build_options : ' -DCMAKE_BUILD_TYPE=Release'
56
56
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 }}
58
58
59
59
steps :
60
60
- name : Checkout repository
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ permissions:
17
17
jobs :
18
18
CodeStyle :
19
19
name : Coding style
20
- runs-on : ubuntu-latest
20
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
21
21
22
22
steps :
23
23
- name : Checkout repository
52
52
53
53
DocsBuild :
54
54
name : Build docs
55
- runs-on : ubuntu-latest
55
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
56
56
57
57
steps :
58
58
- name : Checkout repository
68
68
- name : Install pip requirements
69
69
run : python3 -m pip install -r third_party/requirements.txt
70
70
71
+ - name : Setup PATH for python
72
+ run : echo "$HOME/.local/bin" >> $GITHUB_PATH
73
+
71
74
- name : Build the documentation
72
75
working-directory : scripts
73
76
run : python3 generate_docs.py
Original file line number Diff line number Diff line change @@ -16,11 +16,10 @@ jobs:
16
16
17
17
strategy :
18
18
matrix :
19
- os : ['ubuntu-22.04']
20
19
build_type : [Release, Debug]
21
20
compiler : [{c: gcc, cxx: g++}]
22
21
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' }}
24
23
25
24
steps :
26
25
- name : Checkout
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ permissions:
9
9
jobs :
10
10
analyze :
11
11
name : Run spell check
12
- runs-on : ubuntu-latest
12
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
13
13
14
14
steps :
15
15
- name : Checkout
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ permissions:
24
24
jobs :
25
25
trivy :
26
26
name : Trivy
27
- runs-on : ubuntu-latest
27
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
28
28
permissions :
29
29
security-events : write
30
30
You can’t perform that action at this time.
0 commit comments