File tree Expand file tree Collapse file tree 8 files changed +12
-10
lines changed Expand file tree Collapse file tree 8 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 36
36
- os : ' ubuntu-20.04'
37
37
build_type : Release
38
38
compiler : {c: gcc-7, cxx: g++-7}
39
-
40
- runs-on : ${{matrix.os}}
39
+ runs-on : ${{ (matrix.os == 'ubuntu-22.04' && github.repository_owner == 'oneapi-src') && 'intel-ubuntu-22.04' || matrix.os }}
41
40
42
41
steps :
43
42
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
50
49
- name : Install libhwloc
51
50
run : .github/scripts/install_hwloc.sh
52
51
52
+ - name : Setup PATH
53
+ run : echo "$HOME/.local/bin" >> $GITHUB_PATH
54
+
53
55
- name : Install g++-7
54
56
if : matrix.compiler.cxx == 'g++-7'
55
57
run : |
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ permissions:
12
12
jobs :
13
13
analyze-ubuntu :
14
14
name : Analyze on Ubuntu
15
- runs-on : ubuntu-latest
15
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
16
16
permissions :
17
17
security-events : write
18
18
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ concurrency:
23
23
jobs :
24
24
# Build job
25
25
build :
26
- runs-on : ubuntu-latest
26
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
27
27
steps :
28
28
- name : Checkout
29
29
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
57
57
environment :
58
58
name : github-pages
59
59
url : ${{ steps.deployment.outputs.page_url }}
60
- runs-on : ubuntu-latest
60
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
61
61
needs : build
62
62
steps :
63
63
- name : Deploy to GitHub Pages
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ permissions:
54
54
jobs :
55
55
changed-files :
56
56
name : Check for changed files
57
- runs-on : ubuntu-22.04
57
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu-latest' }}
58
58
outputs :
59
59
any_changed : ${{ steps.get-changed.outputs.any_changed }}
60
60
steps :
Original file line number Diff line number Diff line change 18
18
permissions :
19
19
contents : read
20
20
pull-requests : write
21
- runs-on : ubuntu-latest
21
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
22
22
steps :
23
23
- uses : actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ permissions:
11
11
12
12
jobs :
13
13
weekly-prerelease :
14
- runs-on : ubuntu-latest
14
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
15
15
permissions :
16
16
contents : write
17
17
steps :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ permissions: read-all
17
17
jobs :
18
18
analysis :
19
19
name : Scorecard analysis
20
- runs-on : ubuntu-latest
20
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
21
21
permissions :
22
22
# Needed to upload the results to code-scanning dashboard.
23
23
security-events : write
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ permissions:
19
19
jobs :
20
20
linux :
21
21
name : Trivy
22
- runs-on : ubuntu-latest
22
+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
23
23
permissions :
24
24
security-events : write
25
25
You can’t perform that action at this time.
0 commit comments