Skip to content

Commit

Permalink
switch to intel hosted runners (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
rscohn2 authored Oct 31, 2023
1 parent f2ab01d commit 0d4bbef
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:

jobs:
checks:
runs-on: ubuntu-latest
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4
- name: Ubuntu dependencies
Expand All @@ -34,7 +34,8 @@ jobs:
uses: pre-commit/action@v3.0.0

gcc:
runs-on: ubuntu-latest
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
needs: checks
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -71,6 +72,7 @@ jobs:

icpx:
runs-on: devcloud
needs: checks
timeout-minutes: 60
env:
CXX: icpx
Expand All @@ -86,8 +88,8 @@ jobs:
path: build/Testing

publish:
needs: [checks, gcc, icpx]
runs-on: ubuntu-latest
needs: [gcc, icpx]
runs-on: ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
env:
SPHINXOPTS: -q -W
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit 0d4bbef

Please sign in to comment.