Skip to content

Commit 3500b80

Browse files
committed
ci: run some steps on Intel runners
1 parent 04a83cb commit 3500b80

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868

6969
format:
7070
name: Check code format
71-
runs-on: ubuntu-latest
71+
runs-on: ${{ github.repository_owner == 'intel' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
7272
steps:
7373
- uses: actions/checkout@v2
7474
with:
@@ -82,14 +82,14 @@ jobs:
8282

8383
rust_dependencies:
8484
name: Check Rust dependencies
85-
runs-on: ubuntu-latest
85+
runs-on: ${{ github.repository_owner == 'intel' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
8686
steps:
8787
- uses: actions/checkout@v2
8888
- uses: EmbarkStudios/cargo-deny-action@v1
8989

9090
docs:
9191
name: Check documentation
92-
runs-on: ubuntu-latest
92+
runs-on: ${{ github.repository_owner == 'intel' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
9393
steps:
9494
- uses: actions/checkout@v2
9595
with:
@@ -122,7 +122,7 @@ jobs:
122122
# indicates that we need to decide wether to commit the changes from `cargo xtask codegen`.
123123
codegen:
124124
name: Generate openvino-sys bindings
125-
runs-on: ubuntu-latest
125+
runs-on: ${{ github.repository_owner == 'intel' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
126126
steps:
127127
- uses: actions/checkout@v2
128128
with:

0 commit comments

Comments
 (0)