2626 branches :
2727 - main
2828 paths-ignore :
29+ - " benchmarks/**"
2930 - " doc/**"
3031 - " docs/**"
3132 - " **.md"
3435 - " spark/src/test/scala/org/apache/spark/sql/benchmark/**"
3536 pull_request :
3637 paths-ignore :
38+ - " benchmarks/**"
3739 - " doc/**"
3840 - " docs/**"
3941 - " **.md"
@@ -67,12 +69,12 @@ jobs:
6769 build-native :
6870 needs : lint
6971 name : Build Native Library
70- runs-on : ubuntu-latest
72+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=8,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion-comet', github.run_id) || ' ubuntu-latest' }}
7173 container :
7274 image : amd64/rust
7375 steps :
76+ - uses : runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
7477 - uses : actions/checkout@v6
75-
7678 - name : Setup Rust toolchain
7779 uses : ./.github/actions/setup-builder
7880 with :
@@ -120,10 +122,12 @@ jobs:
120122 linux-test-rust :
121123 needs : lint
122124 name : ubuntu-latest/rust-test
123- runs-on : ubuntu-latest
125+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion-comet', github.run_id) || ' ubuntu-latest' }}
124126 container :
125127 image : amd64/rust
126128 steps :
129+ - uses : runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
130+
127131 - uses : actions/checkout@v6
128132
129133 - name : Setup Rust & Java toolchain
@@ -161,7 +165,6 @@ jobs:
161165 needs : build-native
162166 strategy :
163167 matrix :
164- os : [ubuntu-latest]
165168 # the goal with these profiles is to get coverage of all Java, Scala, and Spark
166169 # versions without testing all possible combinations, which would be overkill
167170 profile :
@@ -273,14 +276,15 @@ jobs:
273276 value : |
274277 org.apache.spark.sql.CometToPrettyStringSuite
275278 fail-fast : false
276- name : ${{ matrix.os }}/${{ matrix. profile.name }}/${{ matrix.profile.scan_impl }} [${{ matrix.suite.name }}]
277- runs-on : ${{ matrix.os }}
279+ name : ${{ matrix.profile.name }}/${{ matrix.profile.scan_impl }} [${{ matrix.suite.name }}]
280+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion-comet', github.run_id) || 'ubuntu-latest' }}
278281 container :
279282 image : amd64/rust
280283 env :
281284 JAVA_TOOL_OPTIONS : ${{ matrix.profile.java_version == '17' && '--add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED' || '' }}
282285
283286 steps :
287+ - uses : runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
284288 - uses : actions/checkout@v6
285289
286290 - name : Setup Rust & Java toolchain
@@ -310,7 +314,7 @@ jobs:
310314 - name : Java test steps
311315 uses : ./.github/actions/java-test
312316 with :
313- artifact_name : ${{ matrix.os }}-${{ matrix. profile.name }}-${{ matrix.suite.name }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
317+ artifact_name : ${{ matrix.profile.name }}-${{ matrix.suite.name }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
314318 suites : ${{ matrix.suite.name == 'sql' && matrix.profile.name == 'Spark 3.4, JDK 11, Scala 2.12' && '' || matrix.suite.value }}
315319 maven_opts : ${{ matrix.profile.maven_opts }}
316320 scan_impl : ${{ matrix.profile.scan_impl }}
@@ -321,10 +325,12 @@ jobs:
321325 verify-benchmark-results-tpch :
322326 needs : build-native
323327 name : Verify TPC-H Results
324- runs-on : ubuntu-latest
328+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion-comet', github.run_id) || ' ubuntu-latest' }}
325329 container :
326330 image : amd64/rust
327331 steps :
332+ - uses : runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
333+
328334 - uses : actions/checkout@v6
329335
330336 - name : Setup Rust & Java toolchain
@@ -373,14 +379,16 @@ jobs:
373379 verify-benchmark-results-tpcds :
374380 needs : build-native
375381 name : Verify TPC-DS Results (${{ matrix.join }})
376- runs-on : ubuntu-latest
382+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion-comet', github.run_id) || ' ubuntu-latest' }}
377383 container :
378384 image : amd64/rust
379385 strategy :
380386 matrix :
381387 join : [sort_merge, broadcast, hash]
382388 fail-fast : false
383389 steps :
390+ - uses : runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
391+
384392 - uses : actions/checkout@v6
385393
386394 - name : Setup Rust & Java toolchain
0 commit comments