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 3636 - os : ' ubuntu-20.04'
3737 build_type : Release
3838 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 }}
4140
4241 steps :
4342 - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
5049 - name : Install libhwloc
5150 run : .github/scripts/install_hwloc.sh
5251
52+ - name : Setup PATH
53+ run : echo "$HOME/.local/bin" >> $GITHUB_PATH
54+
5355 - name : Install g++-7
5456 if : matrix.compiler.cxx == 'g++-7'
5557 run : |
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ permissions:
1212jobs :
1313 analyze-ubuntu :
1414 name : Analyze on Ubuntu
15- runs-on : ubuntu-latest
15+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
1616 permissions :
1717 security-events : write
1818
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ concurrency:
2323jobs :
2424 # Build job
2525 build :
26- runs-on : ubuntu-latest
26+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
2727 steps :
2828 - name : Checkout
2929 uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
5757 environment :
5858 name : github-pages
5959 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' }}
6161 needs : build
6262 steps :
6363 - name : Deploy to GitHub Pages
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ permissions:
5454jobs :
5555 changed-files :
5656 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' }}
5858 outputs :
5959 any_changed : ${{ steps.get-changed.outputs.any_changed }}
6060 steps :
Original file line number Diff line number Diff line change 1818 permissions :
1919 contents : read
2020 pull-requests : write
21- runs-on : ubuntu-latest
21+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
2222 steps :
2323 - uses : actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ permissions:
1111
1212jobs :
1313 weekly-prerelease :
14- runs-on : ubuntu-latest
14+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
1515 permissions :
1616 contents : write
1717 steps :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ permissions: read-all
1717jobs :
1818 analysis :
1919 name : Scorecard analysis
20- runs-on : ubuntu-latest
20+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
2121 permissions :
2222 # Needed to upload the results to code-scanning dashboard.
2323 security-events : write
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ permissions:
1919jobs :
2020 linux :
2121 name : Trivy
22- runs-on : ubuntu-latest
22+ runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel- ubuntu-22.04' || 'ubuntu- latest' }}
2323 permissions :
2424 security-events : write
2525
You can’t perform that action at this time.
0 commit comments