Skip to content

Commit 2daa50d

Browse files
authored
chore: Build nox on native arm (#2086)
* Build nox on native arm * fix * Run on C instances
1 parent 39abb5d commit 2daa50d

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/actionlint.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
self-hosted-runner:
22
labels:
33
- builder
4+
- linux-amd64-m-xlarge
5+
- linux-arm64-m-xlarge
6+
- linux-amd64-m-2xlarge
7+
- linux-arm64-m-2xlarge
8+
- linux-amd64-c-2xlarge
9+
- linux-arm64-c-2xlarge

.github/workflows/build.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,23 @@ on:
1515
jobs:
1616
build:
1717
name: "Build nox (${{ matrix.arch }})"
18-
runs-on: builder
18+
runs-on: ${{ matrix.runner }}
1919
timeout-minutes: 60
2020

21-
env: ${{ matrix.env }}
21+
env:
22+
RUSTFLAGS: "-D warnings --cfg tokio_unstable -C link-arg=-B/usr/local/bin/mold"
23+
RUSTC_WRAPPER: "sccache"
2224

2325
strategy:
2426
fail-fast: false
2527
matrix:
2628
include:
2729
- arch: amd64
2830
target: x86_64-unknown-linux-gnu
29-
env:
30-
RUSTFLAGS: "-D warnings --cfg tokio_unstable -C link-arg=-B/usr/local/bin/mold"
31-
RUSTC_WRAPPER: "sccache"
31+
runner: linux-amd64-c-2xlarge
3232
- arch: arm64
3333
target: aarch64-unknown-linux-gnu
34-
env:
35-
RUSTFLAGS: "-D warnings --cfg tokio_unstable -C link-arg=-B/usr/local/bin/mold"
36-
RUSTC_WRAPPER: "sccache"
37-
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
38-
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc
39-
CXX_aarch64_unknown_linux_gnu: aarch64-linux-gnu-g++
34+
runner: linux-arm64-c-2xlarge
4035

4136
steps:
4237
- name: Checkout repository

0 commit comments

Comments
 (0)