2222 # NOTE: this token is a personal access token on Jimmy's account due to the default GITHUB_TOKEN
2323 # not having access to other repositories. We should eventually devise a better solution here.
2424 LIGHTHOUSE_GITHUB_TOKEN : ${{ secrets.LIGHTHOUSE_GITHUB_TOKEN }}
25- # Enable self-hosted runners for the sigp repo only.
26- SELF_HOSTED_RUNNERS : ${{ github.repository == 'sigp/lighthouse' }}
2725 # Disable incremental compilation
2826 CARGO_INCREMENTAL : 0
2927 # Enable portable to prevent issues with caching `blst` for the wrong CPU type
7876 name : release-tests-ubuntu
7977 needs : [check-labels]
8078 if : needs.check-labels.outputs.skip_ci != 'true'
81- # Use self-hosted runners only on the sigp repo.
82- runs-on : ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }}
79+ runs-on : ${{ github.repository == 'sigp/lighthouse' && 'warp-ubuntu-latest-x64-8x' || 'ubuntu-latest' }}
8380 steps :
8481 - uses : actions/checkout@v5
8582 # Set Java version to 21. (required since Web3Signer 24.12.0).
8885 distribution : ' temurin'
8986 java-version : ' 21'
9087 - name : Get latest version of stable Rust
91- if : env.SELF_HOSTED_RUNNERS == 'false'
9288 uses : moonrepo/setup-rust@v1
9389 with :
9490 channel : stable
9793 env :
9894 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9995 - name : Install Foundry (anvil)
100- if : env.SELF_HOSTED_RUNNERS == 'false'
10196 uses : foundry-rs/foundry-toolchain@v1
10297 with :
10398 version : nightly-ca67d15f4abd46394b324c50e21e66f306a1162d
@@ -107,84 +102,40 @@ jobs:
107102 if : env.SELF_HOSTED_RUNNERS == 'true'
108103 continue-on-error : true
109104 run : sccache --show-stats
110- release-tests-windows :
111- name : release-tests-windows
112- needs : [check-labels]
113- if : needs.check-labels.outputs.skip_ci != 'true'
114- runs-on : ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "windows", "CI"]') || 'windows-2019' }}
115- steps :
116- - uses : actions/checkout@v5
117- - name : Get latest version of stable Rust
118- if : env.SELF_HOSTED_RUNNERS == 'false'
119- uses : moonrepo/setup-rust@v1
120- with :
121- channel : stable
122- cache-target : release
123- bins : cargo-nextest
124- env :
125- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
126- - name : Install Foundry (anvil)
127- if : env.SELF_HOSTED_RUNNERS == 'false'
128- uses : foundry-rs/foundry-toolchain@v1
129- with :
130- version : nightly-ca67d15f4abd46394b324c50e21e66f306a1162d
131- - name : Install make
132- if : env.SELF_HOSTED_RUNNERS == 'false'
133- run : choco install -y make
134- - name : Set LIBCLANG_PATH
135- run : echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
136- - name : Run tests in release
137- run : make test-release
138- - name : Show cache stats
139- if : env.SELF_HOSTED_RUNNERS == 'true'
140- continue-on-error : true
141- run : sccache --show-stats
142105 beacon-chain-tests :
143106 name : beacon-chain-tests
144107 needs : [check-labels]
145108 if : needs.check-labels.outputs.skip_ci != 'true'
146- # Use self-hosted runners only on the sigp repo.
147- runs-on : ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }}
109+ runs-on : ${{ github.repository == 'sigp/lighthouse' && 'warp-ubuntu-latest-x64-8x' || 'ubuntu-latest' }}
148110 env :
149111 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
150112 steps :
151113 - uses : actions/checkout@v5
152114 - name : Get latest version of stable Rust
153- if : env.SELF_HOSTED_RUNNERS == 'false'
154115 uses : moonrepo/setup-rust@v1
155116 with :
156117 channel : stable
157118 cache-target : release
158119 bins : cargo-nextest
159120 - name : Run beacon_chain tests for all known forks
160121 run : make test-beacon-chain
161- - name : Show cache stats
162- if : env.SELF_HOSTED_RUNNERS == 'true'
163- continue-on-error : true
164- run : sccache --show-stats
165122 http-api-tests :
166123 name : http-api-tests
167124 needs : [check-labels]
168125 if : needs.check-labels.outputs.skip_ci != 'true'
169- # Use self-hosted runners only on the sigp repo.
170- runs-on : ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }}
126+ runs-on : ${{ github.repository == 'sigp/lighthouse' && 'warp-ubuntu-latest-x64-8x' || 'ubuntu-latest' }}
171127 env :
172128 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
173129 steps :
174130 - uses : actions/checkout@v5
175131 - name : Get latest version of stable Rust
176- if : env.SELF_HOSTED_RUNNERS == 'false'
177132 uses : moonrepo/setup-rust@v1
178133 with :
179134 channel : stable
180135 cache-target : release
181136 bins : cargo-nextest
182137 - name : Run http_api tests for all recent forks
183138 run : make test-http-api
184- - name : Show cache stats
185- if : env.SELF_HOSTED_RUNNERS == 'true'
186- continue-on-error : true
187- run : sccache --show-stats
188139 op-pool-tests :
189140 name : op-pool-tests
190141 needs : [check-labels]
@@ -252,29 +203,22 @@ jobs:
252203 name : debug-tests-ubuntu
253204 needs : [check-labels]
254205 if : needs.check-labels.outputs.skip_ci != 'true'
255- # Use self-hosted runners only on the sigp repo.
256- runs-on : ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "large"]') || 'ubuntu-latest' }}
206+ runs-on : ${{ github.repository == 'sigp/lighthouse' && 'warp-ubuntu-latest-x64-8x' || 'ubuntu-latest' }}
257207 env :
258208 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
259209 steps :
260210 - uses : actions/checkout@v5
261211 - name : Get latest version of stable Rust
262- if : env.SELF_HOSTED_RUNNERS == 'false'
263212 uses : moonrepo/setup-rust@v1
264213 with :
265214 channel : stable
266215 bins : cargo-nextest
267216 - name : Install Foundry (anvil)
268- if : env.SELF_HOSTED_RUNNERS == 'false'
269217 uses : foundry-rs/foundry-toolchain@v1
270218 with :
271219 version : nightly-ca67d15f4abd46394b324c50e21e66f306a1162d
272220 - name : Run tests in debug
273221 run : make test-debug
274- - name : Show cache stats
275- if : env.SELF_HOSTED_RUNNERS == 'true'
276- continue-on-error : true
277- run : sccache --show-stats
278222 state-transition-vectors-ubuntu :
279223 name : state-transition-vectors-ubuntu
280224 needs : [check-labels]
@@ -293,25 +237,19 @@ jobs:
293237 name : ef-tests-ubuntu
294238 needs : [check-labels]
295239 if : needs.check-labels.outputs.skip_ci != 'true'
296- # Use self-hosted runners only on the sigp repo.
297- runs-on : ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "small"]') || 'ubuntu-latest' }}
240+ runs-on : ${{ github.repository == 'sigp/lighthouse' && 'warp-ubuntu-latest-x64-8x' || 'ubuntu-latest' }}
298241 env :
299242 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
300243 steps :
301244 - uses : actions/checkout@v5
302245 - name : Get latest version of stable Rust
303- if : env.SELF_HOSTED_RUNNERS == 'false'
304246 uses : moonrepo/setup-rust@v1
305247 with :
306248 channel : stable
307249 cache-target : release
308250 bins : cargo-nextest
309251 - name : Run consensus-spec-tests with blst and fake_crypto
310252 run : make test-ef
311- - name : Show cache stats
312- if : env.SELF_HOSTED_RUNNERS == 'true'
313- continue-on-error : true
314- run : sccache --show-stats
315253 basic-simulator-ubuntu :
316254 name : basic-simulator-ubuntu
317255 needs : [check-labels]
@@ -360,21 +298,17 @@ jobs:
360298 name : execution-engine-integration-ubuntu
361299 needs : [check-labels]
362300 if : needs.check-labels.outputs.skip_ci != 'true'
363- runs-on : ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "small"]') || 'ubuntu-latest' }}
301+ runs-on : ${{ github.repository == 'sigp/lighthouse' && 'warp-ubuntu-latest-x64-8x' || 'ubuntu-latest' }}
364302 steps :
365303 - uses : actions/checkout@v5
366304 - name : Get latest version of stable Rust
367- if : env.SELF_HOSTED_RUNNERS == 'false'
368305 uses : moonrepo/setup-rust@v1
369306 with :
370307 channel : stable
371308 cache-target : release
372309 cache : false
373310 env :
374311 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
375- - name : Add go compiler to $PATH
376- if : env.SELF_HOSTED_RUNNERS == 'true'
377- run : echo "/usr/local/go/bin" >> $GITHUB_PATH
378312 - name : Run exec engine integration tests in release
379313 run : make test-exec-engine
380314 check-code :
@@ -501,7 +435,6 @@ jobs:
501435 ' check-labels' ,
502436 ' target-branch-check' ,
503437 ' release-tests-ubuntu' ,
504- ' release-tests-windows' ,
505438 ' beacon-chain-tests' ,
506439 ' op-pool-tests' ,
507440 ' network-tests' ,
0 commit comments