Skip to content

Commit a6d1812

Browse files
committed
Switch to self-hosted runners for most Linux CI jobs
Any CI job which runs on Linux and doesn't use any GitHub Actions tasks aside from `checkout` should move to self-hosted, which we do here.
1 parent e36abb7 commit a6d1812

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 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: 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: [ 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 == '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 == '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: self-hosted
115115
steps:
116116
- name: Checkout source code
117117
uses: actions/checkout@v4
@@ -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: 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: self-hosted
262262
env:
263263
TOOLCHAIN: 1.63
264264
steps:

0 commit comments

Comments
 (0)