@@ -57,41 +57,13 @@ permissions:
5757 checks : write
5858
5959jobs :
60-
61- # Check crate compiles and base cargo check passes
62- linux-build-lib :
63- name : linux build test
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' }}
65- # note: do not use amd/rust container to preserve disk space
66- steps :
67- - uses : runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
68- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
69- with :
70- ref : ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
71- submodules : true
72- fetch-depth : 1
73- - name : Install Rust
74- run : |
75- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
76- source $HOME/.cargo/env
77- rustup toolchain install
78- - name : Install Protobuf Compiler
79- run : |
80- sudo apt-get update
81- sudo apt-get install -y protobuf-compiler
82- - name : Prepare cargo build
83- run : |
84- cargo check --profile ci --all-targets
85- cargo clean
86-
8760 # Run extended tests (with feature 'extended_tests')
8861 linux-test-extended :
8962 name : cargo test 'extended_tests' (amd64)
90- needs : [linux-build-lib]
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' }}
63+ runs-on : ${{ vars.USE_RUNS_ON == 'true' && 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' }}
9264 # note: do not use amd/rust container to preserve disk space
9365 steps :
94- - uses : runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
66+ - uses : runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2
9567 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9668 with :
9769 ref : ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
@@ -134,11 +106,11 @@ jobs:
134106 # Check answers are correct when hash values collide
135107 hash-collisions :
136108 name : cargo test hash collisions (amd64)
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' }}
109+ runs-on : ${{ vars.USE_RUNS_ON == 'true ' && 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' }}
138110 container :
139111 image : amd64/rust
140112 steps :
141- - uses : runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
113+ - uses : runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2
142114 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
143115 with :
144116 ref : ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
@@ -156,11 +128,11 @@ jobs:
156128
157129 sqllogictest-sqlite :
158130 name : " Run sqllogictests with the sqlite test suite"
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' }}
131+ runs-on : ${{ vars.USE_RUNS_ON == 'true ' && 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' }}
160132 container :
161133 image : amd64/rust
162134 steps :
163- - uses : runs-on/action@742bf56072eb4845a0f94b3394673e4903c90ff0 # v2.1.0
135+ - uses : runs-on/action@d141ef83eb66d096ce8afc767e09115a65c63b60 # v2.1.2
164136 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
165137 with :
166138 ref : ${{ github.event.inputs.pr_head_sha }} # will be empty if triggered by push
0 commit comments