Skip to content

Commit 63899fc

Browse files
author
Seunguk Shin
committed
ci: use rust 1.82.0 for arm64
rust on aarch64-unknown-linux-gnu has a bug which faces SIGSEGV intermittently (rust-lang/rust#135867) with 1.83.0 or later. rust 1.82.0 will be used for arm64 only until the above issue is resolved. Signed-off-by: Seunguk Shin <seunguk.shin@arm.com>
1 parent 0a7051d commit 63899fc

9 files changed

+76
-4
lines changed

.github/workflows/aa_basic.yml

+6
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ jobs:
4848
- instance: ubuntu-24.04-arm
4949
make_args: "ATTESTER=cca-attester TEE_PLATFORM=cca"
5050
cargo_test_opts: "--no-default-features --features openssl,rust-crypto,passport,cca-attester,kbs,coco_as,ttrpc,grpc"
51+
# TODO: remove rust: 1.82.0 and exclude when the following issue is resolved
52+
# https://github.com/rust-lang/rust/issues/135867
53+
rust: 1.82.0
54+
exclude:
55+
- instance: ubuntu-24.04-arm
56+
rust: stable
5157
runs-on: ${{ matrix.instance }}
5258
steps:
5359
- name: Code checkout

.github/workflows/aa_cc_kbc.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ jobs:
4848
attester: az-tdx-vtpm-attester
4949
- instance: ubuntu-24.04-arm
5050
attester: cca-attester
51+
# TODO: remove rust: 1.82.0 and exclude when the following issue is resolved
52+
# https://github.com/rust-lang/rust/issues/135867
53+
rust: 1.82.0
54+
exclude:
55+
- instance: ubuntu-24.04-arm
56+
rust: stable
5157
runs-on: ${{ matrix.instance }}
5258
steps:
5359
- name: Code checkout
@@ -61,7 +67,7 @@ jobs:
6167
profile: minimal
6268
toolchain: ${{ matrix.rust }}
6369
override: true
64-
components: rustfmt
70+
components: rustfmt, clippy
6571

6672
- uses: ./.github/actions/install-intel-dcap
6773
with:

.github/workflows/aa_crypto.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ jobs:
3434
suites:
3535
- rust-crypto
3636
- openssl
37+
rust:
38+
- stable
39+
# TODO: remove include and exclude when the following issue is resolved
40+
# https://github.com/rust-lang/rust/issues/135867
41+
- 1.82.0
42+
exclude:
43+
- instance: ubuntu-24.04
44+
rust: 1.82.0
45+
- instance: ubuntu-24.04-arm
46+
rust: stable
3747
runs-on: ${{ matrix.instance }}
3848

3949
steps:
@@ -42,13 +52,13 @@ jobs:
4252
with:
4353
fetch-depth: 1
4454

45-
- name: Install Rust toolchain (stable)
55+
- name: Install Rust toolchain (${{ matrix.rust }})
4656
uses: actions-rs/toolchain@v1
4757
with:
4858
profile: minimal
49-
toolchain: stable
59+
toolchain: ${{ matrix.rust }}
5060
override: true
51-
components: rustfmt
61+
components: rustfmt, clippy
5262

5363
- name: Run rust fmt check
5464
uses: actions-rs/cargo@v1

.github/workflows/aa_sample_keyprovider.yml

+8
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ jobs:
2929
instance:
3030
- ubuntu-24.04
3131
- ubuntu-24.04-arm
32+
# TODO: remove include and exclude when the following issue is resolved
33+
# https://github.com/rust-lang/rust/issues/135867
34+
include:
35+
- instance: ubuntu-24.04-arm
36+
rust: 1.82.0
37+
exclude:
38+
- instance: ubuntu-24.04-arm
39+
rust: stable
3240
runs-on: ${{ matrix.instance }}
3341

3442
steps:

.github/workflows/api-server-rest-basic.yml

+8
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ jobs:
3838
- ubuntu-24.04-arm
3939
rust:
4040
- stable
41+
# TODO: remove include and exclude when the following issue is resolved
42+
# https://github.com/rust-lang/rust/issues/135867
43+
include:
44+
- instance: ubuntu-24.04-arm
45+
rust: 1.82.0
46+
exclude:
47+
- instance: ubuntu-24.04-arm
48+
rust: stable
4149
runs-on: ${{ matrix.instance }}
4250
steps:
4351
- name: Code checkout

.github/workflows/cdh_basic.yml

+8
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ jobs:
3838
- ubuntu-24.04-arm
3939
rust:
4040
- stable
41+
# TODO: remove include and exclude when the following issue is resolved
42+
# https://github.com/rust-lang/rust/issues/135867
43+
include:
44+
- instance: ubuntu-24.04-arm
45+
rust: 1.82.0
46+
exclude:
47+
- instance: ubuntu-24.04-arm
48+
rust: stable
4149
runs-on: ${{ matrix.instance }}
4250
steps:
4351
- name: Code checkout

.github/workflows/image_rs_build.yml

+10
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ jobs:
3838
- ubuntu-24.04
3939
- s390x
4040
- ubuntu-24.04-arm
41+
# TODO: remove include and exclude when the following issue is resolved
42+
# https://github.com/rust-lang/rust/issues/135867
43+
include:
44+
- instance: ubuntu-24.04-arm
45+
rust: 1.82.0
46+
exclude:
47+
- instance: ubuntu-24.04-arm
48+
rust: stable
49+
- instance: ubuntu-24.04-arm
50+
rust: 1.83.0
4151
runs-on: ${{ matrix.instance }}
4252
steps:
4353
- name: Code checkout

.github/workflows/ocicrypt_rs_build.yml

+10
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ jobs:
3434
rust:
3535
- 1.83.0
3636
- stable
37+
# TODO: remove include and exclude when the following issue is resolved
38+
# https://github.com/rust-lang/rust/issues/135867
39+
include:
40+
- instance: ubuntu-24.04-arm
41+
rust: 1.82.0
42+
exclude:
43+
- instance: ubuntu-24.04-arm
44+
rust: stable
45+
- instance: ubuntu-24.04-arm
46+
rust: 1.83.0
3747
runs-on: ${{ matrix.instance }}
3848

3949
steps:

.github/workflows/trustee-attester.yml

+6
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ jobs:
3636
cargo_test_opts: "-p kbs_protocol --bin trustee-attester --no-default-features --features background_check,passport,openssl,se-attester,bin"
3737
- instance: ubuntu-24.04-arm
3838
cargo_test_opts: "-p kbs_protocol --bin trustee-attester --no-default-features --features background_check,passport,openssl,cca-attester,bin"
39+
# TODO: remove rust: 1.82.0 and exclude when the following issue is resolved
40+
# https://github.com/rust-lang/rust/issues/135867
41+
rust: 1.82.0
42+
exclude:
43+
- instance: ubuntu-24.04-arm
44+
rust: stable
3945
runs-on: ${{ matrix.instance }}
4046
steps:
4147
- name: Code checkout

0 commit comments

Comments
 (0)