Skip to content

Commit 5306645

Browse files
committed
Switch to self-hosted runners for most Linux CI jobs
Try switching to our new self-hosted runners for most of the longer-running Linux CI jobs.
1 parent e36abb7 commit 5306645

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414

1515
jobs:
1616
ext-test:
17-
runs-on: ubuntu-latest
17+
runs-on: linux-self-hosted
1818
steps:
1919
- name: Checkout source code
2020
uses: actions/checkout@v4
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
platform: [ ubuntu-latest, windows-latest, macos-latest ]
34+
platform: [ linux-self-hosted, windows-latest, macos-latest ]
3535
toolchain: [ stable, beta, 1.63.0 ] # 1.63.0 is the MSRV for all crates but `lightning-transaction-sync`.
3636
exclude:
3737
- platform: windows-latest
@@ -45,13 +45,13 @@ jobs:
4545
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
4646
rustup override set ${{ matrix.toolchain }}
4747
- name: Install no-std-check dependencies for ARM Embedded
48-
if: "matrix.platform == 'ubuntu-latest'"
48+
if: "matrix.platform == 'linux-self-hosted'"
4949
run: |
5050
rustup target add thumbv7m-none-eabi
5151
sudo apt-get -y install gcc-arm-none-eabi
5252
sudo apt-get clean
5353
- name: shellcheck the CI and `contrib` scripts
54-
if: "matrix.platform == 'ubuntu-latest'"
54+
if: "matrix.platform == 'linux-self-hosted'"
5555
run: |
5656
sudo apt-get -y install shellcheck
5757
sudo apt-get clean
@@ -111,7 +111,7 @@ jobs:
111111
coverage:
112112
strategy:
113113
fail-fast: false
114-
runs-on: ubuntu-latest
114+
runs-on: linux-self-hosted
115115
steps:
116116
- name: Checkout source code
117117
uses: actions/checkout@v4
@@ -141,7 +141,7 @@ jobs:
141141
./codecov --verbose upload-process --disable-search --fail-on-error -f fuzz-codecov.json -t "f421b687-4dc2-4387-ac3d-dc3b2528af57" -F 'fuzzing'
142142
143143
benchmark:
144-
runs-on: ubuntu-latest
144+
runs-on: linux-self-hosted
145145
env:
146146
TOOLCHAIN: stable
147147
steps:
@@ -206,7 +206,7 @@ jobs:
206206
RUSTFLAGS="--cfg=ldk_bench --cfg=require_route_graph_test" cargo bench
207207
208208
check_commits:
209-
runs-on: ubuntu-latest
209+
runs-on: linux-self-hosted
210210
env:
211211
TOOLCHAIN: stable
212212
steps:
@@ -258,7 +258,7 @@ jobs:
258258
RUSTDOCFLAGS: '--cfg=taproot'
259259

260260
fuzz:
261-
runs-on: ubuntu-latest
261+
runs-on: linux-self-hosted
262262
env:
263263
TOOLCHAIN: 1.63
264264
steps:
@@ -321,7 +321,7 @@ jobs:
321321
run: cargo fmt --check
322322

323323
incremental-mutants:
324-
runs-on: ubuntu-latest
324+
runs-on: linux-self-hosted
325325
if: github.ref_name != 'main' # `main` has no diff with itself
326326
steps:
327327
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)