4444 - ' datafusion/physical*/**/*.rs'
4545 - ' datafusion/expr*/**/*.rs'
4646 - ' datafusion/optimizer/**/*.rs'
47+ - ' datafusion/sql/**/*.rs'
4748 - ' datafusion-testing'
4849 workflow_dispatch :
4950 inputs :
50- pr_number :
51- description : ' Pull request number'
52- type : string
53- check_run_id :
54- description : ' Check run ID for status updates'
55- type : string
5651 pr_head_sha :
5752 description : ' PR head SHA'
5853 type : string
6661 # Check crate compiles and base cargo check passes
6762 linux-build-lib :
6863 name : linux build test
69- runs-on : ubuntu-latest
64+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a+m7a+c8a,cpu=8,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || ' ubuntu-latest' }}
7065 # note: do not use amd/rust container to preserve disk space
7166 steps :
67+ - uses : runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
7268 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7369 with :
7470 ref : ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
8076 source $HOME/.cargo/env
8177 rustup toolchain install
8278 - name : Install Protobuf Compiler
83- run : sudo apt-get install -y protobuf-compiler
79+ run : |
80+ sudo apt-get update
81+ sudo apt-get install -y protobuf-compiler
8482 - name : Prepare cargo build
8583 run : |
8684 cargo check --profile ci --all-targets
9088 linux-test-extended :
9189 name : cargo test 'extended_tests' (amd64)
9290 needs : [linux-build-lib]
93- runs-on : ubuntu-latest
91+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a+m7a+c8a,cpu=32,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || ' ubuntu-latest' }}
9492 # note: do not use amd/rust container to preserve disk space
9593 steps :
94+ - uses : runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
9695 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9796 with :
9897 ref : ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
@@ -106,7 +105,9 @@ jobs:
106105 source $HOME/.cargo/env
107106 rustup toolchain install
108107 - name : Install Protobuf Compiler
109- run : sudo apt-get install -y protobuf-compiler
108+ run : |
109+ sudo apt-get update
110+ sudo apt-get install -y protobuf-compiler
110111 # For debugging, test binaries can be large.
111112 - name : Show available disk space
112113 run : |
@@ -133,10 +134,11 @@ jobs:
133134 # Check answers are correct when hash values collide
134135 hash-collisions :
135136 name : cargo test hash collisions (amd64)
136- runs-on : ubuntu-latest
137+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a+m7a+c8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || ' ubuntu-latest' }}
137138 container :
138139 image : amd64/rust
139140 steps :
141+ - uses : runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
140142 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
141143 with :
142144 ref : ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
@@ -154,24 +156,20 @@ jobs:
154156
155157 sqllogictest-sqlite :
156158 name : " Run sqllogictests with the sqlite test suite"
157- runs-on : ubuntu-latest
159+ runs-on : ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a+m7a+c8a,cpu=32,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || ' ubuntu-latest' }}
158160 container :
159161 image : amd64/rust
160162 steps :
163+ - uses : runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
161164 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
162165 with :
163166 ref : ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
164167 submodules : true
165168 fetch-depth : 1
166- - name : Setup Rust toolchain
167- uses : ./.github/actions/setup-builder
168- with :
169- rust-version : stable
169+ # Don't use setup-builder to avoid configuring RUST_BACKTRACE which is expensive
170+ - name : Install protobuf compiler
171+ run : |
172+ apt-get update && apt-get install -y protobuf-compiler
170173 - name : Run sqllogictest
171174 run : |
172- cargo test --features backtrace,parquet_encryption --profile release-nonlto --test sqllogictests -- --include-sqlite
173- cargo clean
174-
175-
176-
177-
175+ cargo test --features backtrace,parquet_encryption --profile ci-optimized --test sqllogictests -- --include-sqlite
0 commit comments